/* * Unloved program to convert a binary on stdin to a C include on stdout * * Jan 1999 Matt Mackall * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. */ #include int main(int argc, char *argv[]) { int ch, total = 0; if (argc > 1) printf("const char %s[] %s=\n", argv[1], argc > 2 ? argv[2] : ""); do { printf("\t\""); while ((ch = getchar()) != EOF) { total++; printf("\\x%02x", ch); if (total % 16 == 0) break; } printf("\"\n"); } while (ch != EOF); if (argc > 1) printf("\t;\n\n#include \n\nconst size_t %s_size = %d;\n", argv[1], total); return 0; } it.cgi/linux/net-next.git/'>net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net
AgeCommit message (Expand)AuthorFilesLines
2017-02-03tcp: clear pfmemalloc on outgoing skbEric Dumazet1-0/+7
2017-02-03net: ipv6: Set protocol to kernel for local routesDavid Ahern1-0/+1
2017-02-03bridge: vlan dst_metadata hooks in ingress and egress pathsRoopa Prabhu6-2/+82
2017-02-03bridge: per vlan dst_metadata netlink supportRoopa Prabhu7-48/+641
2017-02-03net/sched: act_ife: Change to use ife moduleYotam Gigi2-78/+33
2017-02-03net: Introduce ife encapsulation moduleYotam Gigi5-0/+165
2017-02-03net/sched: act_ife: Unexport ife_tlv_meta_encodeYotam Gigi1-2/+2
2017-02-03tcp: add tcp_mss_clamp() helperEric Dumazet4-23/+8
2017-02-02net: add LINUX_MIB_PFMEMALLOCDROP counterEric Dumazet2-2/+4
2017-02-02net: ipv4: remove fib_lookup.h from devinet.c include listDavid Ahern1-2/+0
2017-02-02net: remove useless pfmemalloc settingEric Dumazet1-1/+0
2017-02-02unix: add ioctl to open a unix socket file with O_PATHAndrey Vagin1-0/+41
2017-02-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller12-104/+93
2017-02-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds10-103/+86
2017-02-01net/sched: act_psample: Remove unnecessary ASSERT_RTNLYotam Gigi1-1/+0
2017-02-01net/sched: act_sample: Fix error path in initYotam Gigi1-1/+4
2017-02-01tcp: fix 0 divide in __tcp_select_window()Eric Dumazet1-2/+4
2017-02-01ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()Dan Carpenter1-1/+1
2017-02-01net: ipv6: add NLM_F_APPEND in notifications when applicableDavid Ahern1-0/+3
2017-02-01net: reduce skb_warn_bad_offload() noiseEric Dumazet1-3/+9
2017-02-01net/sched: matchall: Fix configuration raceYotam Gigi1-82/+45
2017-02-01rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlinkTheuns Verwoerd1-1/+6