From 71663dc78b1c4d71b42bc87b5037371da5a84747 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Mon, 28 Jan 2013 10:58:09 +0100 Subject: [PATCH] src: move all files from src to root No reason to keep them in src/. Signed-off-by: Daniel Borkmann --- INSTALL | 21 +++++++++++---------- src/Makefile => Makefile | 0 src/aslookup.c => aslookup.c | 0 src/aslookup.h => aslookup.h | 0 src/astraceroute.c => astraceroute.c | 0 {src/astraceroute => astraceroute}/.gitignore | 0 {src/astraceroute => astraceroute}/Makefile | 0 {src/astraceroute => astraceroute}/build_geoip.sh | 0 src/bpf.c => bpf.c | 0 src/bpf.h => bpf.h | 0 src/bpf_lexer.l => bpf_lexer.l | 0 src/bpf_parser.y => bpf_parser.y | 0 src/bpfc.c => bpfc.c | 0 {src/bpfc => bpfc}/.gitignore | 0 {src/bpfc => bpfc}/Makefile | 0 src/built_in.h => built_in.h | 0 {src/configs => configs}/ether.conf | 0 {src/configs => configs}/oui.conf | 0 {src/configs => configs}/tcp.conf | 0 {src/configs => configs}/udp.conf | 0 {src/configs => configs}/whois.conf | 0 src/csum.h => csum.h | 0 src/ct_client.c => ct_client.c | 0 src/ct_cpusched.c => ct_cpusched.c | 0 src/ct_cpusched.h => ct_cpusched.h | 0 src/ct_server.c => ct_server.c | 0 src/ct_servmgmt.c => ct_servmgmt.c | 0 src/ct_servmgmt.h => ct_servmgmt.h | 0 src/ct_usermgmt.c => ct_usermgmt.c | 0 src/ct_usermgmt.h => ct_usermgmt.h | 0 src/curve.c => curve.c | 0 src/curve.h => curve.h | 0 src/curvetun.c => curvetun.c | 0 src/curvetun.h => curvetun.h | 0 {src/curvetun => curvetun}/.gitignore | 0 {src/curvetun => curvetun}/Makefile | 0 {src/curvetun => curvetun}/abiname.c | 0 {src/curvetun => curvetun}/build_nacl.sh | 0 {src/curvetun => curvetun}/nacl_path.sh | 0 src/die.h => die.h | 0 src/dissector.c => dissector.c | 0 src/dissector.h => dissector.h | 0 src/dissector_80211.c => dissector_80211.c | 0 src/dissector_80211.h => dissector_80211.h | 0 src/dissector_eth.c => dissector_eth.c | 0 src/dissector_eth.h => dissector_eth.h | 0 src/flowtop.c => flowtop.c | 0 {src/flowtop => flowtop}/.gitignore | 0 {src/flowtop => flowtop}/Makefile | 0 src/hash.c => hash.c | 0 src/hash.h => hash.h | 0 src/ifpps.c => ifpps.c | 0 {src/ifpps => ifpps}/.gitignore | 0 {src/ifpps => ifpps}/Makefile | 0 src/ipv4.h => ipv4.h | 0 src/ipv6.h => ipv6.h | 0 src/locking.h => locking.h | 0 src/mac80211.c => mac80211.c | 0 src/mac80211.h => mac80211.h | 0 src/mtrand.c => mtrand.c | 0 src/mtrand.h => mtrand.h | 0 src/netsniff-ng.c => netsniff-ng.c | 0 {src/netsniff-ng => netsniff-ng}/.gitignore | 0 {src/netsniff-ng => netsniff-ng}/Makefile | 0 src/oui.c => oui.c | 0 src/oui.h => oui.h | 0 src/patricia.c => patricia.c | 0 src/patricia.h => patricia.h | 0 src/pcap.h => pcap.h | 0 src/pcap_mm.c => pcap_mm.c | 0 src/pcap_rw.c => pcap_rw.c | 0 src/pcap_sg.c => pcap_sg.c | 0 src/pkt_buff.h => pkt_buff.h | 0 src/proto.h => proto.h | 0 src/proto_80211_mac_hdr.c => proto_80211_mac_hdr.c | 0 src/proto_arp.c => proto_arp.c | 0 src/proto_ethernet.c => proto_ethernet.c | 0 src/proto_icmpv4.c => proto_icmpv4.c | 0 src/proto_icmpv6.c => proto_icmpv6.c | 0 src/proto_igmp.c => proto_igmp.c | 0 ...ntication_hdr.c => proto_ip_authentication_hdr.c | 0 src/proto_ip_esp.c => proto_ip_esp.c | 0 src/proto_ipv4.c => proto_ipv4.c | 0 src/proto_ipv6.c => proto_ipv6.c | 0 ...proto_ipv6_dest_opts.c => proto_ipv6_dest_opts.c | 0 src/proto_ipv6_fragm.c => proto_ipv6_fragm.c | 0 ...oto_ipv6_hop_by_hop.c => proto_ipv6_hop_by_hop.c | 0 src/proto_ipv6_in_ipv4.c => proto_ipv6_in_ipv4.c | 0 ...ipv6_mobility_hdr.c => proto_ipv6_mobility_hdr.c | 0 ...oto_ipv6_no_nxt_hdr.c => proto_ipv6_no_nxt_hdr.c | 0 src/proto_ipv6_routing.c => proto_ipv6_routing.c | 0 src/proto_mpls_unicast.c => proto_mpls_unicast.c | 0 src/proto_none.c => proto_none.c | 0 src/proto_tcp.c => proto_tcp.c | 0 src/proto_udp.c => proto_udp.c | 0 src/proto_vlan.c => proto_vlan.c | 0 src/proto_vlan_q_in_q.c => proto_vlan_q_in_q.c | 0 src/protos.h => protos.h | 0 src/ring.h => ring.h | 0 src/ring_rx.c => ring_rx.c | 0 src/ring_rx.h => ring_rx.h | 0 src/ring_tx.c => ring_tx.c | 0 src/ring_tx.h => ring_tx.h | 0 src/.gitattributes | 3 --- src/stun.c => stun.c | 0 {src/test => test}/dissector_fuzz.sh | 0 src/tprintf.c => tprintf.c | 0 src/tprintf.h => tprintf.h | 0 src/trafgen.c => trafgen.c | 0 {src/trafgen => trafgen}/.gitignore | 0 {src/trafgen => trafgen}/Makefile | 0 src/trafgen_conf.h => trafgen_conf.h | 0 src/trafgen_lexer.l => trafgen_lexer.l | 0 src/trafgen_parser.y => trafgen_parser.y | 0 src/trie.c => trie.c | 0 src/trie.h => trie.h | 0 src/update-geoip.sh => update-geoip.sh | 0 src/update-oui.py => update-oui.py | 0 src/xio.c => xio.c | 0 src/xio.h => xio.h | 0 src/xmalloc.c => xmalloc.c | 0 src/xmalloc.h => xmalloc.h | 0 src/xutils.c => xutils.c | 0 src/xutils.h => xutils.h | 0 124 files changed, 11 insertions(+), 13 deletions(-) rename src/Makefile => Makefile (100%) rename src/aslookup.c => aslookup.c (100%) rename src/aslookup.h => aslookup.h (100%) rename src/astraceroute.c => astraceroute.c (100%) rename {src/astraceroute => astraceroute}/.gitignore (100%) rename {src/astraceroute => astraceroute}/Makefile (100%) rename {src/astraceroute => astraceroute}/build_geoip.sh (100%) rename src/bpf.c => bpf.c (100%) rename src/bpf.h => bpf.h (100%) rename src/bpf_lexer.l => bpf_lexer.l (100%) rename src/bpf_parser.y => bpf_parser.y (100%) rename src/bpfc.c => bpfc.c (100%) rename {src/bpfc => bpfc}/.gitignore (100%) rename {src/bpfc => bpfc}/Makefile (100%) rename src/built_in.h => built_in.h (100%) rename {src/configs => configs}/ether.conf (100%) rename {src/configs => configs}/oui.conf (100%) rename {src/configs => configs}/tcp.conf (100%) rename {src/configs => configs}/udp.conf (100%) rename {src/configs => configs}/whois.conf (100%) rename src/csum.h => csum.h (100%) rename src/ct_client.c => ct_client.c (100%) rename src/ct_cpusched.c => ct_cpusched.c (100%) rename src/ct_cpusched.h => ct_cpusched.h (100%) rename src/ct_server.c => ct_server.c (100%) rename src/ct_servmgmt.c => ct_servmgmt.c (100%) rename src/ct_servmgmt.h => ct_servmgmt.h (100%) rename src/ct_usermgmt.c => ct_usermgmt.c (100%) rename src/ct_usermgmt.h => ct_usermgmt.h (100%) rename src/curve.c => curve.c (100%) rename src/curve.h => curve.h (100%) rename src/curvetun.c => curvetun.c (100%) rename src/curvetun.h => curvetun.h (100%) rename {src/curvetun => curvetun}/.gitignore (100%) rename {src/curvetun => curvetun}/Makefile (100%) rename {src/curvetun => curvetun}/abiname.c (100%) rename {src/curvetun => curvetun}/build_nacl.sh (100%) rename {src/curvetun => curvetun}/nacl_path.sh (100%) rename src/die.h => die.h (100%) rename src/dissector.c => dissector.c (100%) rename src/dissector.h => dissector.h (100%) rename src/dissector_80211.c => dissector_80211.c (100%) rename src/dissector_80211.h => dissector_80211.h (100%) rename src/dissector_eth.c => dissector_eth.c (100%) rename src/dissector_eth.h => dissector_eth.h (100%) rename src/flowtop.c => flowtop.c (100%) rename {src/flowtop => flowtop}/.gitignore (100%) rename {src/flowtop => flowtop}/Makefile (100%) rename src/hash.c => hash.c (100%) rename src/hash.h => hash.h (100%) rename src/ifpps.c => ifpps.c (100%) rename {src/ifpps => ifpps}/.gitignore (100%) rename {src/ifpps => ifpps}/Makefile (100%) rename src/ipv4.h => ipv4.h (100%) rename src/ipv6.h => ipv6.h (100%) rename src/locking.h => locking.h (100%) rename src/mac80211.c => mac80211.c (100%) rename src/mac80211.h => mac80211.h (100%) rename src/mtrand.c => mtrand.c (100%) rename src/mtrand.h => mtrand.h (100%) rename src/netsniff-ng.c => netsniff-ng.c (100%) rename {src/netsniff-ng => netsniff-ng}/.gitignore (100%) rename {src/netsniff-ng => netsniff-ng}/Makefile (100%) rename src/oui.c => oui.c (100%) rename src/oui.h => oui.h (100%) rename src/patricia.c => patricia.c (100%) rename src/patricia.h => patricia.h (100%) rename src/pcap.h => pcap.h (100%) rename src/pcap_mm.c => pcap_mm.c (100%) rename src/pcap_rw.c => pcap_rw.c (100%) rename src/pcap_sg.c => pcap_sg.c (100%) rename src/pkt_buff.h => pkt_buff.h (100%) rename src/proto.h => proto.h (100%) rename src/proto_80211_mac_hdr.c => proto_80211_mac_hdr.c (100%) rename src/proto_arp.c => proto_arp.c (100%) rename src/proto_ethernet.c => proto_ethernet.c (100%) rename src/proto_icmpv4.c => proto_icmpv4.c (100%) rename src/proto_icmpv6.c => proto_icmpv6.c (100%) rename src/proto_igmp.c => proto_igmp.c (100%) rename src/proto_ip_authentication_hdr.c => proto_ip_authentication_hdr.c (100%) rename src/proto_ip_esp.c => proto_ip_esp.c (100%) rename src/proto_ipv4.c => proto_ipv4.c (100%) rename src/proto_ipv6.c => proto_ipv6.c (100%) rename src/proto_ipv6_dest_opts.c => proto_ipv6_dest_opts.c (100%) rename src/proto_ipv6_fragm.c => proto_ipv6_fragm.c (100%) rename src/proto_ipv6_hop_by_hop.c => proto_ipv6_hop_by_hop.c (100%) rename src/proto_ipv6_in_ipv4.c => proto_ipv6_in_ipv4.c (100%) rename src/proto_ipv6_mobility_hdr.c => proto_ipv6_mobility_hdr.c (100%) rename src/proto_ipv6_no_nxt_hdr.c => proto_ipv6_no_nxt_hdr.c (100%) rename src/proto_ipv6_routing.c => proto_ipv6_routing.c (100%) rename src/proto_mpls_unicast.c => proto_mpls_unicast.c (100%) rename src/proto_none.c => proto_none.c (100%) rename src/proto_tcp.c => proto_tcp.c (100%) rename src/proto_udp.c => proto_udp.c (100%) rename src/proto_vlan.c => proto_vlan.c (100%) rename src/proto_vlan_q_in_q.c => proto_vlan_q_in_q.c (100%) rename src/protos.h => protos.h (100%) rename src/ring.h => ring.h (100%) rename src/ring_rx.c => ring_rx.c (100%) rename src/ring_rx.h => ring_rx.h (100%) rename src/ring_tx.c => ring_tx.c (100%) rename src/ring_tx.h => ring_tx.h (100%) delete mode 100644 src/.gitattributes rename src/stun.c => stun.c (100%) rename {src/test => test}/dissector_fuzz.sh (100%) rename src/tprintf.c => tprintf.c (100%) rename src/tprintf.h => tprintf.h (100%) rename src/trafgen.c => trafgen.c (100%) rename {src/trafgen => trafgen}/.gitignore (100%) rename {src/trafgen => trafgen}/Makefile (100%) rename src/trafgen_conf.h => trafgen_conf.h (100%) rename src/trafgen_lexer.l => trafgen_lexer.l (100%) rename src/trafgen_parser.y => trafgen_parser.y (100%) rename src/trie.c => trie.c (100%) rename src/trie.h => trie.h (100%) rename src/update-geoip.sh => update-geoip.sh (100%) rename src/update-oui.py => update-oui.py (100%) rename src/xio.c => xio.c (100%) rename src/xio.h => xio.h (100%) rename src/xmalloc.c => xmalloc.c (100%) rename src/xmalloc.h => xmalloc.h (100%) rename src/xutils.c => xutils.c (100%) rename src/xutils.h => xutils.h (100%) diff --git a/INSTALL b/INSTALL index f660a73b..09a2ae31 100644 --- a/INSTALL +++ b/INSTALL @@ -45,9 +45,10 @@ One-liner installation for *all* dependencies on Fedora: GeoIP-devel libnetfilter_conntrack-devel ncurses-devel \ userspace-rcu-devel nacl-devel libpcap-devel -After downloading the netsniff-ng toolkit, you should change to 'src': +After downloading the netsniff-ng toolkit, you should change to the +repository root directory: - $ cd netsniff-ng/src/ + $ cd netsniff-ng/ The installation (deinstallation) process done by make is fairly simple: @@ -87,7 +88,7 @@ In order to build curvetun, libnacl must be built first. A helper script called build_nacl.sh is there to facilitate this process. If you want to build NaCl in the directory ~/nacl, the script should be called this way: - $ cd src/curvetun + $ cd curvetun $ ./build_nacl.sh ~/nacl There's also an abbreviation for this by simply typing: @@ -105,7 +106,7 @@ case you are not cross compiling. If NaCl already has been built on the target, it is quicker to use nacl_path.sh this way: - $ cd src/curvetun + $ cd curvetun $ ./nacl_path.sh ~/nacl/build/include/x86 ~/nacl/build/lib/x86 When done, netsniff-ng's build infrastructure will read those evironment @@ -113,10 +114,10 @@ variables in order to get the needed paths to NaCl. In case you have to manually install libgeoip in version 1.4.8 or higher, you can also use the provided helper script called build_geoip.sh from the -src/astraceroute directory (depending on your distribution, you might want to +astraceroute directory (depending on your distribution, you might want to adapt paths within the script): - $ cd src/astraceroute + $ cd astraceroute # ./build_geoip.sh Again, there's also an abbreviation for this by simply typing: @@ -147,14 +148,14 @@ on most other major architectures. However, since we don't have a possibility to test it, please drop us a short mail, if it runs successfully on hardware other than x86/x86_64. -For using TUN/TAP devices as a user, e.g. create a file called -src/50-tuntap.rules in /etc/udev/rules.d/ with ... +For using TUN/TAP devices as a user, e.g. create a file called 50-tuntap.rules +in /etc/udev/rules.d/ with ... KERNEL=="tun",NAME="net/%k",GROUP="netdev",MODE="0660",OPTIONS+="ignore_remove" ... and restart the udev daemon. Add yourself to the "netdev" group. -Add the flag -D__WITH_HARDWARE_TIMESTAMPING=1 into src/Makefile for +Add the flag -D__WITH_HARDWARE_TIMESTAMPING=1 into Makefile for hardware timestamping support. Note that your kernel must be configured for this (e.g. to ship the linux/net_tstamp.h header file). @@ -198,7 +199,7 @@ Concerning packaging the toolkit for a Linux distribution, by default, netsniff-ng has some architecture-specific tuning options enabled that don't belong into a package binary of a distribution. Hence, you might want to adapt some build-related things before starting to package the toolkit. All -necessary things (e.g., CFLAGS,WFLAGS) can be found in src/Makefile. Hence, +necessary things (e.g., CFLAGS,WFLAGS) can be found in Makefile. Hence, you need to adapt it there. You can then build and install the toolkit into a prefixed path like: diff --git a/src/Makefile b/Makefile similarity index 100% rename from src/Makefile rename to Makefile diff --git a/src/aslookup.c b/aslookup.c similarity index 100% rename from src/aslookup.c rename to aslookup.c diff --git a/src/aslookup.h b/aslookup.h similarity index 100% rename from src/aslookup.h rename to aslookup.h diff --git a/src/astraceroute.c b/astraceroute.c similarity index 100% rename from src/astraceroute.c rename to astraceroute.c diff --git a/src/astraceroute/.gitignore b/astraceroute/.gitignore similarity index 100% rename from src/astraceroute/.gitignore rename to astraceroute/.gitignore diff --git a/src/astraceroute/Makefile b/astraceroute/Makefile similarity index 100% rename from src/astraceroute/Makefile rename to astraceroute/Makefile diff --git a/src/astraceroute/build_geoip.sh b/astraceroute/build_geoip.sh similarity index 100% rename from src/astraceroute/build_geoip.sh rename to astraceroute/build_geoip.sh diff --git a/src/bpf.c b/bpf.c similarity index 100% rename from src/bpf.c rename to bpf.c diff --git a/src/bpf.h b/bpf.h similarity index 100% rename from src/bpf.h rename to bpf.h diff --git a/src/bpf_lexer.l b/bpf_lexer.l similarity index 100% rename from src/bpf_lexer.l rename to bpf_lexer.l diff --git a/src/bpf_parser.y b/bpf_parser.y similarity index 100% rename from src/bpf_parser.y rename to bpf_parser.y diff --git a/src/bpfc.c b/bpfc.c similarity index 100% rename from src/bpfc.c rename to bpfc.c diff --git a/src/bpfc/.gitignore b/bpfc/.gitignore similarity index 100% rename from src/bpfc/.gitignore rename to bpfc/.gitignore diff --git a/src/bpfc/Makefile b/bpfc/Makefile similarity index 100% rename from src/bpfc/Makefile rename to bpfc/Makefile diff --git a/src/built_in.h b/built_in.h similarity index 100% rename from src/built_in.h rename to built_in.h diff --git a/src/configs/ether.conf b/configs/ether.conf similarity index 100% rename from src/configs/ether.conf rename to configs/ether.conf diff --git a/src/configs/oui.conf b/configs/oui.conf similarity index 100% rename from src/configs/oui.conf rename to configs/oui.conf diff --git a/src/configs/tcp.conf b/configs/tcp.conf similarity index 100% rename from src/configs/tcp.conf rename to configs/tcp.conf diff --git a/src/configs/udp.conf b/configs/udp.conf similarity index 100% rename from src/configs/udp.conf rename to configs/udp.conf diff --git a/src/configs/whois.conf b/configs/whois.conf similarity index 100% rename from src/configs/whois.conf rename to configs/whois.conf diff --git a/src/csum.h b/csum.h similarity index 100% rename from src/csum.h rename to csum.h diff --git a/src/ct_client.c b/ct_client.c similarity index 100% rename from src/ct_client.c rename to ct_client.c diff --git a/src/ct_cpusched.c b/ct_cpusched.c similarity index 100% rename from src/ct_cpusched.c rename to ct_cpusched.c diff --git a/src/ct_cpusched.h b/ct_cpusched.h similarity index 100% rename from src/ct_cpusched.h rename to ct_cpusched.h diff --git a/src/ct_server.c b/ct_server.c similarity index 100% rename from src/ct_server.c rename to ct_server.c diff --git a/src/ct_servmgmt.c b/ct_servmgmt.c similarity index 100% rename from src/ct_servmgmt.c rename to ct_servmgmt.c diff --git a/src/ct_servmgmt.h b/ct_servmgmt.h similarity index 100% rename from src/ct_servmgmt.h rename to ct_servmgmt.h diff --git a/src/ct_usermgmt.c b/ct_usermgmt.c similarity index 100% rename from src/ct_usermgmt.c rename to ct_usermgmt.c diff --git a/src/ct_usermgmt.h b/ct_usermgmt.h similarity index 100% rename from src/ct_usermgmt.h rename to ct_usermgmt.h diff --git a/src/curve.c b/curve.c similarity index 100% rename from src/curve.c rename to curve.c diff --git a/src/curve.h b/curve.h similarity index 100% rename from src/curve.h rename to curve.h diff --git a/src/curvetun.c b/curvetun.c similarity index 100% rename from src/curvetun.c rename to curvetun.c diff --git a/src/curvetun.h b/curvetun.h similarity index 100% rename from src/curvetun.h rename to curvetun.h diff --git a/src/curvetun/.gitignore b/curvetun/.gitignore similarity index 100% rename from src/curvetun/.gitignore rename to curvetun/.gitignore diff --git a/src/curvetun/Makefile b/curvetun/Makefile similarity index 100% rename from src/curvetun/Makefile rename to curvetun/Makefile diff --git a/src/curvetun/abiname.c b/curvetun/abiname.c similarity index 100% rename from src/curvetun/abiname.c rename to curvetun/abiname.c diff --git a/src/curvetun/build_nacl.sh b/curvetun/build_nacl.sh similarity index 100% rename from src/curvetun/build_nacl.sh rename to curvetun/build_nacl.sh diff --git a/src/curvetun/nacl_path.sh b/curvetun/nacl_path.sh similarity index 100% rename from src/curvetun/nacl_path.sh rename to curvetun/nacl_path.sh diff --git a/src/die.h b/die.h similarity index 100% rename from src/die.h rename to die.h diff --git a/src/dissector.c b/dissector.c similarity index 100% rename from src/dissector.c rename to dissector.c diff --git a/src/dissector.h b/dissector.h similarity index 100% rename from src/dissector.h rename to dissector.h diff --git a/src/dissector_80211.c b/dissector_80211.c similarity index 100% rename from src/dissector_80211.c rename to dissector_80211.c diff --git a/src/dissector_80211.h b/dissector_80211.h similarity index 100% rename from src/dissector_80211.h rename to dissector_80211.h diff --git a/src/dissector_eth.c b/dissector_eth.c similarity index 100% rename from src/dissector_eth.c rename to dissector_eth.c diff --git a/src/dissector_eth.h b/dissector_eth.h similarity index 100% rename from src/dissector_eth.h rename to dissector_eth.h diff --git a/src/flowtop.c b/flowtop.c similarity index 100% rename from src/flowtop.c rename to flowtop.c diff --git a/src/flowtop/.gitignore b/flowtop/.gitignore similarity index 100% rename from src/flowtop/.gitignore rename to flowtop/.gitignore diff --git a/src/flowtop/Makefile b/flowtop/Makefile similarity index 100% rename from src/flowtop/Makefile rename to flowtop/Makefile diff --git a/src/hash.c b/hash.c similarity index 100% rename from src/hash.c rename to hash.c diff --git a/src/hash.h b/hash.h similarity index 100% rename from src/hash.h rename to hash.h diff --git a/src/ifpps.c b/ifpps.c similarity index 100% rename from src/ifpps.c rename to ifpps.c diff --git a/src/ifpps/.gitignore b/ifpps/.gitignore similarity index 100% rename from src/ifpps/.gitignore rename to ifpps/.gitignore diff --git a/src/ifpps/Makefile b/ifpps/Makefile similarity index 100% rename from src/ifpps/Makefile rename to ifpps/Makefile diff --git a/src/ipv4.h b/ipv4.h similarity index 100% rename from src/ipv4.h rename to ipv4.h diff --git a/src/ipv6.h b/ipv6.h similarity index 100% rename from src/ipv6.h rename to ipv6.h diff --git a/src/locking.h b/locking.h similarity index 100% rename from src/locking.h rename to locking.h diff --git a/src/mac80211.c b/mac80211.c similarity index 100% rename from src/mac80211.c rename to mac80211.c diff --git a/src/mac80211.h b/mac80211.h similarity index 100% rename from src/mac80211.h rename to mac80211.h diff --git a/src/mtrand.c b/mtrand.c similarity index 100% rename from src/mtrand.c rename to mtrand.c diff --git a/src/mtrand.h b/mtrand.h similarity index 100% rename from src/mtrand.h rename to mtrand.h diff --git a/src/netsniff-ng.c b/netsniff-ng.c similarity index 100% rename from src/netsniff-ng.c rename to netsniff-ng.c diff --git a/src/netsniff-ng/.gitignore b/netsniff-ng/.gitignore similarity index 100% rename from src/netsniff-ng/.gitignore rename to netsniff-ng/.gitignore diff --git a/src/netsniff-ng/Makefile b/netsniff-ng/Makefile similarity index 100% rename from src/netsniff-ng/Makefile rename to netsniff-ng/Makefile diff --git a/src/oui.c b/oui.c similarity index 100% rename from src/oui.c rename to oui.c diff --git a/src/oui.h b/oui.h similarity index 100% rename from src/oui.h rename to oui.h diff --git a/src/patricia.c b/patricia.c similarity index 100% rename from src/patricia.c rename to patricia.c diff --git a/src/patricia.h b/patricia.h similarity index 100% rename from src/patricia.h rename to patricia.h diff --git a/src/pcap.h b/pcap.h similarity index 100% rename from src/pcap.h rename to pcap.h diff --git a/src/pcap_mm.c b/pcap_mm.c similarity index 100% rename from src/pcap_mm.c rename to pcap_mm.c diff --git a/src/pcap_rw.c b/pcap_rw.c similarity index 100% rename from src/pcap_rw.c rename to pcap_rw.c diff --git a/src/pcap_sg.c b/pcap_sg.c similarity index 100% rename from src/pcap_sg.c rename to pcap_sg.c diff --git a/src/pkt_buff.h b/pkt_buff.h similarity index 100% rename from src/pkt_buff.h rename to pkt_buff.h diff --git a/src/proto.h b/proto.h similarity index 100% rename from src/proto.h rename to proto.h diff --git a/src/proto_80211_mac_hdr.c b/proto_80211_mac_hdr.c similarity index 100% rename from src/proto_80211_mac_hdr.c rename to proto_80211_mac_hdr.c diff --git a/src/proto_arp.c b/proto_arp.c similarity index 100% rename from src/proto_arp.c rename to proto_arp.c diff --git a/src/proto_ethernet.c b/proto_ethernet.c similarity index 100% rename from src/proto_ethernet.c rename to proto_ethernet.c diff --git a/src/proto_icmpv4.c b/proto_icmpv4.c similarity index 100% rename from src/proto_icmpv4.c rename to proto_icmpv4.c diff --git a/src/proto_icmpv6.c b/proto_icmpv6.c similarity index 100% rename from src/proto_icmpv6.c rename to proto_icmpv6.c diff --git a/src/proto_igmp.c b/proto_igmp.c similarity index 100% rename from src/proto_igmp.c rename to proto_igmp.c diff --git a/src/proto_ip_authentication_hdr.c b/proto_ip_authentication_hdr.c similarity index 100% rename from src/proto_ip_authentication_hdr.c rename to proto_ip_authentication_hdr.c diff --git a/src/proto_ip_esp.c b/proto_ip_esp.c similarity index 100% rename from src/proto_ip_esp.c rename to proto_ip_esp.c diff --git a/src/proto_ipv4.c b/proto_ipv4.c similarity index 100% rename from src/proto_ipv4.c rename to proto_ipv4.c diff --git a/src/proto_ipv6.c b/proto_ipv6.c similarity index 100% rename from src/proto_ipv6.c rename to proto_ipv6.c diff --git a/src/proto_ipv6_dest_opts.c b/proto_ipv6_dest_opts.c similarity index 100% rename from src/proto_ipv6_dest_opts.c rename to proto_ipv6_dest_opts.c diff --git a/src/proto_ipv6_fragm.c b/proto_ipv6_fragm.c similarity index 100% rename from src/proto_ipv6_fragm.c rename to proto_ipv6_fragm.c diff --git a/src/proto_ipv6_hop_by_hop.c b/proto_ipv6_hop_by_hop.c similarity index 100% rename from src/proto_ipv6_hop_by_hop.c rename to proto_ipv6_hop_by_hop.c diff --git a/src/proto_ipv6_in_ipv4.c b/proto_ipv6_in_ipv4.c similarity index 100% rename from src/proto_ipv6_in_ipv4.c rename to proto_ipv6_in_ipv4.c diff --git a/src/proto_ipv6_mobility_hdr.c b/proto_ipv6_mobility_hdr.c similarity index 100% rename from src/proto_ipv6_mobility_hdr.c rename to proto_ipv6_mobility_hdr.c diff --git a/src/proto_ipv6_no_nxt_hdr.c b/proto_ipv6_no_nxt_hdr.c similarity index 100% rename from src/proto_ipv6_no_nxt_hdr.c rename to proto_ipv6_no_nxt_hdr.c diff --git a/src/proto_ipv6_routing.c b/proto_ipv6_routing.c similarity index 100% rename from src/proto_ipv6_routing.c rename to proto_ipv6_routing.c diff --git a/src/proto_mpls_unicast.c b/proto_mpls_unicast.c similarity index 100% rename from src/proto_mpls_unicast.c rename to proto_mpls_unicast.c diff --git a/src/proto_none.c b/proto_none.c similarity index 100% rename from src/proto_none.c rename to proto_none.c diff --git a/src/proto_tcp.c b/proto_tcp.c similarity index 100% rename from src/proto_tcp.c rename to proto_tcp.c diff --git a/src/proto_udp.c b/proto_udp.c similarity index 100% rename from src/proto_udp.c rename to proto_udp.c diff --git a/src/proto_vlan.c b/proto_vlan.c similarity index 100% rename from src/proto_vlan.c rename to proto_vlan.c diff --git a/src/proto_vlan_q_in_q.c b/proto_vlan_q_in_q.c similarity index 100% rename from src/proto_vlan_q_in_q.c rename to proto_vlan_q_in_q.c diff --git a/src/protos.h b/protos.h similarity index 100% rename from src/protos.h rename to protos.h diff --git a/src/ring.h b/ring.h similarity index 100% rename from src/ring.h rename to ring.h diff --git a/src/ring_rx.c b/ring_rx.c similarity index 100% rename from src/ring_rx.c rename to ring_rx.c diff --git a/src/ring_rx.h b/ring_rx.h similarity index 100% rename from src/ring_rx.h rename to ring_rx.h diff --git a/src/ring_tx.c b/ring_tx.c similarity index 100% rename from src/ring_tx.c rename to ring_tx.c diff --git a/src/ring_tx.h b/ring_tx.h similarity index 100% rename from src/ring_tx.h rename to ring_tx.h diff --git a/src/.gitattributes b/src/.gitattributes deleted file mode 100644 index 5e98806c..00000000 --- a/src/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -* whitespace=!indent,trail,space -*.[ch] whitespace=indent,trail,space -*.sh whitespace=indent,trail,space diff --git a/src/stun.c b/stun.c similarity index 100% rename from src/stun.c rename to stun.c diff --git a/src/test/dissector_fuzz.sh b/test/dissector_fuzz.sh similarity index 100% rename from src/test/dissector_fuzz.sh rename to test/dissector_fuzz.sh diff --git a/src/tprintf.c b/tprintf.c similarity index 100% rename from src/tprintf.c rename to tprintf.c diff --git a/src/tprintf.h b/tprintf.h similarity index 100% rename from src/tprintf.h rename to tprintf.h diff --git a/src/trafgen.c b/trafgen.c similarity index 100% rename from src/trafgen.c rename to trafgen.c diff --git a/src/trafgen/.gitignore b/trafgen/.gitignore similarity index 100% rename from src/trafgen/.gitignore rename to trafgen/.gitignore diff --git a/src/trafgen/Makefile b/trafgen/Makefile similarity index 100% rename from src/trafgen/Makefile rename to trafgen/Makefile diff --git a/src/trafgen_conf.h b/trafgen_conf.h similarity index 100% rename from src/trafgen_conf.h rename to trafgen_conf.h diff --git a/src/trafgen_lexer.l b/trafgen_lexer.l similarity index 100% rename from src/trafgen_lexer.l rename to trafgen_lexer.l diff --git a/src/trafgen_parser.y b/trafgen_parser.y similarity index 100% rename from src/trafgen_parser.y rename to trafgen_parser.y diff --git a/src/trie.c b/trie.c similarity index 100% rename from src/trie.c rename to trie.c diff --git a/src/trie.h b/trie.h similarity index 100% rename from src/trie.h rename to trie.h diff --git a/src/update-geoip.sh b/update-geoip.sh similarity index 100% rename from src/update-geoip.sh rename to update-geoip.sh diff --git a/src/update-oui.py b/update-oui.py similarity index 100% rename from src/update-oui.py rename to update-oui.py diff --git a/src/xio.c b/xio.c similarity index 100% rename from src/xio.c rename to xio.c diff --git a/src/xio.h b/xio.h similarity index 100% rename from src/xio.h rename to xio.h diff --git a/src/xmalloc.c b/xmalloc.c similarity index 100% rename from src/xmalloc.c rename to xmalloc.c diff --git a/src/xmalloc.h b/xmalloc.h similarity index 100% rename from src/xmalloc.h rename to xmalloc.h diff --git a/src/xutils.c b/xutils.c similarity index 100% rename from src/xutils.c rename to xutils.c diff --git a/src/xutils.h b/xutils.h similarity index 100% rename from src/xutils.h rename to xutils.h -- 2.11.4.GIT