summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Nilsson <troglobit@gmail.com>2019-10-08 20:56:49 +0200
committerJoachim Nilsson <troglobit@gmail.com>2019-10-08 21:00:22 +0200
commitf11fcc1aab75cf61f6dce90fa7e2142fbb3b7073 (patch)
tree9320c5ea186dec16503a16a24e797e75085f2e8d
parenta4b1fa63feb22f5d1bcdfe8d24d95f54b73fe752 (diff)
downloadlibnet-f11fcc1aab75cf61f6dce90fa7e2142fbb3b7073.tar.gz
Add coding style hinting for Emacs
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
-rw-r--r--include/libnet/libnet-asn1.h6
-rw-r--r--include/libnet/libnet-functions.h6
-rw-r--r--include/libnet/libnet-headers.h6
-rw-r--r--include/libnet/libnet-macros.h6
-rw-r--r--include/libnet/libnet-structures.h6
-rw-r--r--include/libnet/libnet-types.h6
-rw-r--r--src/common.h9
-rw-r--r--src/libnet_advanced.c6
-rw-r--r--src/libnet_asn1.c6
-rw-r--r--src/libnet_build_802.1q.c7
-rw-r--r--src/libnet_build_802.1x.c6
-rw-r--r--src/libnet_build_802.2.c7
-rw-r--r--src/libnet_build_802.3.c6
-rw-r--r--src/libnet_build_arp.c6
-rw-r--r--src/libnet_build_bgp.c6
-rw-r--r--src/libnet_build_cdp.c6
-rw-r--r--src/libnet_build_data.c6
-rw-r--r--src/libnet_build_dhcp.c6
-rw-r--r--src/libnet_build_dns.c6
-rw-r--r--src/libnet_build_ethernet.c7
-rw-r--r--src/libnet_build_fddi.c7
-rw-r--r--src/libnet_build_gre.c7
-rw-r--r--src/libnet_build_hsrp.c7
-rw-r--r--src/libnet_build_icmp.c6
-rw-r--r--src/libnet_build_igmp.c6
-rw-r--r--src/libnet_build_ip.c6
-rw-r--r--src/libnet_build_ipsec.c6
-rw-r--r--src/libnet_build_isl.c6
-rw-r--r--src/libnet_build_link.c6
-rw-r--r--src/libnet_build_mpls.c6
-rw-r--r--src/libnet_build_ntp.c6
-rw-r--r--src/libnet_build_ospf.c6
-rw-r--r--src/libnet_build_rip.c6
-rw-r--r--src/libnet_build_rpc.c6
-rw-r--r--src/libnet_build_sebek.c7
-rw-r--r--src/libnet_build_snmp.c7
-rw-r--r--src/libnet_build_stp.c6
-rw-r--r--src/libnet_build_tcp.c6
-rw-r--r--src/libnet_build_token_ring.c7
-rw-r--r--src/libnet_build_udp.c6
-rw-r--r--src/libnet_build_vrrp.c6
-rw-r--r--src/libnet_checksum.c6
-rw-r--r--src/libnet_cq.c6
-rw-r--r--src/libnet_crc.c7
-rw-r--r--src/libnet_dll.c6
-rw-r--r--src/libnet_error.c7
-rw-r--r--src/libnet_if_addr.c6
-rw-r--r--src/libnet_init.c6
-rw-r--r--src/libnet_internal.c6
-rw-r--r--src/libnet_link_bpf.c7
-rw-r--r--src/libnet_link_dlpi.c6
-rw-r--r--src/libnet_link_linux.c7
-rw-r--r--src/libnet_link_nit.c6
-rw-r--r--src/libnet_link_none.c6
-rw-r--r--src/libnet_link_pf.c7
-rw-r--r--src/libnet_link_snit.c7
-rw-r--r--src/libnet_link_snoop.c7
-rw-r--r--src/libnet_link_win32.c6
-rw-r--r--src/libnet_pblock.c7
-rw-r--r--src/libnet_port_list.c6
-rw-r--r--src/libnet_prand.c6
-rw-r--r--src/libnet_raw.c7
-rw-r--r--src/libnet_resolve.c6
-rw-r--r--src/libnet_version.c6
-rw-r--r--src/libnet_write.c7
65 files changed, 397 insertions, 15 deletions
diff --git a/include/libnet/libnet-asn1.h b/include/libnet/libnet-asn1.h
index c1ebda0..06b985a 100644
--- a/include/libnet/libnet-asn1.h
+++ b/include/libnet/libnet-asn1.h
@@ -252,3 +252,9 @@ libnet_build_asn1_bitstring(
#endif /* __LIBNET_ASN1_H */
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/include/libnet/libnet-functions.h b/include/libnet/libnet-functions.h
index 9fe586e..357c363 100644
--- a/include/libnet/libnet-functions.h
+++ b/include/libnet/libnet-functions.h
@@ -2650,3 +2650,9 @@ libnet_win32_read_arp_table(DWORD IP);
#endif
#endif /* __LIBNET_FUNCTIONS_H */
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/include/libnet/libnet-headers.h b/include/libnet/libnet-headers.h
index fcb95ce..cb8164d 100644
--- a/include/libnet/libnet-headers.h
+++ b/include/libnet/libnet-headers.h
@@ -1824,3 +1824,9 @@ struct libnet_hsrp_hdr
#endif /* __LIBNET_HEADERS_H */
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/include/libnet/libnet-macros.h b/include/libnet/libnet-macros.h
index 7bd997c..81901fe 100644
--- a/include/libnet/libnet-macros.h
+++ b/include/libnet/libnet-macros.h
@@ -196,3 +196,9 @@ if (payload_s) \
#endif /* __LIBNET_MACROS_H */
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/include/libnet/libnet-structures.h b/include/libnet/libnet-structures.h
index a61b4f0..6084caa 100644
--- a/include/libnet/libnet-structures.h
+++ b/include/libnet/libnet-structures.h
@@ -251,3 +251,9 @@ typedef struct _libnet_context_queue_descriptor libnet_cqd_t;
#endif /* __LIBNET_STRUCTURES_H */
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/include/libnet/libnet-types.h b/include/libnet/libnet-types.h
index 6d7b28d..71f59cf 100644
--- a/include/libnet/libnet-types.h
+++ b/include/libnet/libnet-types.h
@@ -37,3 +37,9 @@
#endif /* __LIBNET_TYPES_H */
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/common.h b/src/common.h
index 32b36cd..d7cf84c 100644
--- a/src/common.h
+++ b/src/common.h
@@ -68,4 +68,11 @@
*/
#ifndef IPPROTO_MH
#define IPPROTO_MH 135 /* IPv6 mobility header */
-#endif \ No newline at end of file
+#endif
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_advanced.c b/src/libnet_advanced.c
index b03fbe4..b885630 100644
--- a/src/libnet_advanced.c
+++ b/src/libnet_advanced.c
@@ -160,3 +160,9 @@ libnet_adv_free_packet(libnet_t *l, uint8_t *packet)
free(packet);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_asn1.c b/src/libnet_asn1.c
index ff81dff..1ed467a 100644
--- a/src/libnet_asn1.c
+++ b/src/libnet_asn1.c
@@ -426,3 +426,9 @@ libnet_build_asn1_bitstring(uint8_t *data, int *datalen, uint8_t type,
return (data + str_s);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_802.1q.c b/src/libnet_build_802.1q.c
index c91506c..bcae75b 100644
--- a/src/libnet_build_802.1q.c
+++ b/src/libnet_build_802.1q.c
@@ -91,4 +91,9 @@ bad:
return (-1);
}
-
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_802.1x.c b/src/libnet_build_802.1x.c
index d8a4a9e..4f78ea1 100644
--- a/src/libnet_build_802.1x.c
+++ b/src/libnet_build_802.1x.c
@@ -78,3 +78,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_802.2.c b/src/libnet_build_802.2.c
index b278ec0..7d1be2e 100644
--- a/src/libnet_build_802.2.c
+++ b/src/libnet_build_802.2.c
@@ -129,4 +129,9 @@ bad:
return (-1);
}
-
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_802.3.c b/src/libnet_build_802.3.c
index 17c9f3f..9b2d20d 100644
--- a/src/libnet_build_802.3.c
+++ b/src/libnet_build_802.3.c
@@ -78,3 +78,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_arp.c b/src/libnet_build_arp.c
index f0bb763..7a0ee74 100644
--- a/src/libnet_build_arp.c
+++ b/src/libnet_build_arp.c
@@ -145,3 +145,9 @@ const uint8_t *tpa, libnet_t *l)
0)); /* libnet id */
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_bgp.c b/src/libnet_build_bgp.c
index c992957..db8ea56 100644
--- a/src/libnet_build_bgp.c
+++ b/src/libnet_build_bgp.c
@@ -284,3 +284,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_cdp.c b/src/libnet_build_cdp.c
index e9955b0..9f5c960 100644
--- a/src/libnet_build_cdp.c
+++ b/src/libnet_build_cdp.c
@@ -168,3 +168,9 @@ libnet_build_cdp_value(uint16_t type, uint16_t len, uint8_t *value, libnet_t *l,
return (1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_data.c b/src/libnet_build_data.c
index 87c6917..b806992 100644
--- a/src/libnet_build_data.c
+++ b/src/libnet_build_data.c
@@ -67,3 +67,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_dhcp.c b/src/libnet_build_dhcp.c
index 61d945b..735594f 100644
--- a/src/libnet_build_dhcp.c
+++ b/src/libnet_build_dhcp.c
@@ -132,3 +132,9 @@ libnet_t *l, libnet_ptag_t ptag)
l, ptag));
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_dns.c b/src/libnet_build_dns.c
index 3b4abf1..5d42082 100644
--- a/src/libnet_build_dns.c
+++ b/src/libnet_build_dns.c
@@ -106,3 +106,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_ethernet.c b/src/libnet_build_ethernet.c
index e6ccdda..2715f58 100644
--- a/src/libnet_build_ethernet.c
+++ b/src/libnet_build_ethernet.c
@@ -150,3 +150,10 @@ bad:
libnet_pblock_delete(l, p);
return (-1);
}
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_fddi.c b/src/libnet_build_fddi.c
index 51c19d2..9299ce1 100644
--- a/src/libnet_build_fddi.c
+++ b/src/libnet_build_fddi.c
@@ -168,3 +168,10 @@ bad:
libnet_pblock_delete(l, p);
return (-1);
}
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_gre.c b/src/libnet_build_gre.c
index 02f6e4f..35c36f2 100644
--- a/src/libnet_build_gre.c
+++ b/src/libnet_build_gre.c
@@ -390,3 +390,10 @@ bad:
return (-1);
}
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_hsrp.c b/src/libnet_build_hsrp.c
index a41acfd..41b3c7d 100644
--- a/src/libnet_build_hsrp.c
+++ b/src/libnet_build_hsrp.c
@@ -95,3 +95,10 @@ bad:
libnet_pblock_delete(l, p);
return (-1);
}
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_icmp.c b/src/libnet_build_icmp.c
index 1a53df6..366121c 100644
--- a/src/libnet_build_icmp.c
+++ b/src/libnet_build_icmp.c
@@ -599,3 +599,9 @@ bad:
return -1;
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_igmp.c b/src/libnet_build_igmp.c
index 639a294..f876df7 100644
--- a/src/libnet_build_igmp.c
+++ b/src/libnet_build_igmp.c
@@ -89,3 +89,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_ip.c b/src/libnet_build_ip.c
index 803f6c6..e70fb16 100644
--- a/src/libnet_build_ip.c
+++ b/src/libnet_build_ip.c
@@ -753,3 +753,9 @@ libnet_autobuild_ipv6(uint16_t len, uint8_t nh, struct libnet_in6_addr dst,
return libnet_build_ipv6(0, 0, len, nh, 64, src, dst, NULL, 0, l, ptag);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_ipsec.c b/src/libnet_build_ipsec.c
index 9ec6b92..240f8d5 100644
--- a/src/libnet_build_ipsec.c
+++ b/src/libnet_build_ipsec.c
@@ -182,3 +182,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_isl.c b/src/libnet_build_isl.c
index e59f0c9..24dfb5f 100644
--- a/src/libnet_build_isl.c
+++ b/src/libnet_build_isl.c
@@ -88,3 +88,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_link.c b/src/libnet_build_link.c
index 40cd8b8..fcddae7 100644
--- a/src/libnet_build_link.c
+++ b/src/libnet_build_link.c
@@ -75,3 +75,9 @@ libnet_autobuild_link(const uint8_t *dst, const uint8_t *oui, uint16_t type, lib
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_mpls.c b/src/libnet_build_mpls.c
index 19e4000..2e965be 100644
--- a/src/libnet_build_mpls.c
+++ b/src/libnet_build_mpls.c
@@ -89,3 +89,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_ntp.c b/src/libnet_build_ntp.c
index d478549..0f217dc 100644
--- a/src/libnet_build_ntp.c
+++ b/src/libnet_build_ntp.c
@@ -98,3 +98,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_ospf.c b/src/libnet_build_ospf.c
index ffbe354..c19f6d8 100644
--- a/src/libnet_build_ospf.c
+++ b/src/libnet_build_ospf.c
@@ -567,3 +567,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_rip.c b/src/libnet_build_rip.c
index cc07e8b..41c0b4d 100644
--- a/src/libnet_build_rip.c
+++ b/src/libnet_build_rip.c
@@ -86,3 +86,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_rpc.c b/src/libnet_build_rpc.c
index c195072..90cb157 100644
--- a/src/libnet_build_rpc.c
+++ b/src/libnet_build_rpc.c
@@ -115,3 +115,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_sebek.c b/src/libnet_build_sebek.c
index addc6ce..6463750 100644
--- a/src/libnet_build_sebek.c
+++ b/src/libnet_build_sebek.c
@@ -85,3 +85,10 @@ bad:
libnet_pblock_delete(l, p);
return (-1);
}
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_snmp.c b/src/libnet_build_snmp.c
index 7645905..0967a30 100644
--- a/src/libnet_build_snmp.c
+++ b/src/libnet_build_snmp.c
@@ -41,4 +41,9 @@ libnet_build_snmp(void)
return (-1);
}
-
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_stp.c b/src/libnet_build_stp.c
index 737ce7d..d99edbc 100644
--- a/src/libnet_build_stp.c
+++ b/src/libnet_build_stp.c
@@ -186,3 +186,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_tcp.c b/src/libnet_build_tcp.c
index 98a0783..d5724ec 100644
--- a/src/libnet_build_tcp.c
+++ b/src/libnet_build_tcp.c
@@ -304,3 +304,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_token_ring.c b/src/libnet_build_token_ring.c
index 91f7560..3f62d42 100644
--- a/src/libnet_build_token_ring.c
+++ b/src/libnet_build_token_ring.c
@@ -170,3 +170,10 @@ bad:
libnet_pblock_delete(l, p);
return (-1);
}
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_udp.c b/src/libnet_build_udp.c
index e99f47d..7071a52 100644
--- a/src/libnet_build_udp.c
+++ b/src/libnet_build_udp.c
@@ -87,3 +87,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_build_vrrp.c b/src/libnet_build_vrrp.c
index 58e774f..8086edf 100644
--- a/src/libnet_build_vrrp.c
+++ b/src/libnet_build_vrrp.c
@@ -94,3 +94,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_checksum.c b/src/libnet_checksum.c
index 29d37d6..596bd19 100644
--- a/src/libnet_checksum.c
+++ b/src/libnet_checksum.c
@@ -569,3 +569,9 @@ libnet_ip_check(uint16_t *addr, int len)
return (LIBNET_CKSUM_CARRY(sum));
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_cq.c b/src/libnet_cq.c
index ec60a01..2234cbc 100644
--- a/src/libnet_cq.c
+++ b/src/libnet_cq.c
@@ -400,3 +400,9 @@ libnet_cq_end_loop()
return (1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_crc.c b/src/libnet_crc.c
index a93fdc7..e442159 100644
--- a/src/libnet_crc.c
+++ b/src/libnet_crc.c
@@ -101,4 +101,9 @@ libnet_compute_crc(uint8_t *buf, uint32_t len)
return (~val);
}
-
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_dll.c b/src/libnet_dll.c
index 8ee0c38..ec6e5b7 100644
--- a/src/libnet_dll.c
+++ b/src/libnet_dll.c
@@ -44,3 +44,9 @@ BOOL WINAPI DllMain(HINSTANCE hinst, ULONG fdwReason, LPVOID lpReserved)
return (TRUE);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_error.c b/src/libnet_error.c
index d8ad8de..9b73c50 100644
--- a/src/libnet_error.c
+++ b/src/libnet_error.c
@@ -43,4 +43,9 @@ libnet_geterror(libnet_t *l)
return (l->err_buf);
}
-
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_if_addr.c b/src/libnet_if_addr.c
index da8e402..ae4e2f4 100644
--- a/src/libnet_if_addr.c
+++ b/src/libnet_if_addr.c
@@ -487,3 +487,9 @@ bad:
return (-1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_init.c b/src/libnet_init.c
index 4a20c73..fe5b613 100644
--- a/src/libnet_init.c
+++ b/src/libnet_init.c
@@ -251,3 +251,9 @@ libnet_getpacket_size(libnet_t *l)
return (n);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_internal.c b/src/libnet_internal.c
index de13647..c63670b 100644
--- a/src/libnet_internal.c
+++ b/src/libnet_internal.c
@@ -310,3 +310,9 @@ libnet_diag_dump_pblock_type(uint8_t type)
return ("unrecognized pblock");
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_link_bpf.c b/src/libnet_link_bpf.c
index 73049ab..e5d02d4 100644
--- a/src/libnet_link_bpf.c
+++ b/src/libnet_link_bpf.c
@@ -349,4 +349,9 @@ libnet_get_hwaddr(libnet_t *l)
return (&l->link_addr);
}
-
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_link_dlpi.c b/src/libnet_link_dlpi.c
index fc131b3..5128d17 100644
--- a/src/libnet_link_dlpi.c
+++ b/src/libnet_link_dlpi.c
@@ -832,3 +832,9 @@ libnet_get_hwaddr(libnet_t *l)
return (&l->link_addr);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_link_linux.c b/src/libnet_link_linux.c
index bc0e786..84c8124 100644
--- a/src/libnet_link_linux.c
+++ b/src/libnet_link_linux.c
@@ -291,10 +291,9 @@ bad:
return (NULL);
}
-/* ---- Emacs Variables ----
+/**
* Local Variables:
- * c-basic-offset: 4
- * indent-tabs-mode: nil
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
* End:
*/
-
diff --git a/src/libnet_link_nit.c b/src/libnet_link_nit.c
index ac37904..f507811 100644
--- a/src/libnet_link_nit.c
+++ b/src/libnet_link_nit.c
@@ -118,3 +118,9 @@ write_link_layer(struct libnet_link_int *l, const int8_t *device,
return (c);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_link_none.c b/src/libnet_link_none.c
index faf7bff..5fabee8 100644
--- a/src/libnet_link_none.c
+++ b/src/libnet_link_none.c
@@ -66,3 +66,9 @@ libnet_get_hwaddr(libnet_t *l)
return NULL;
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_link_pf.c b/src/libnet_link_pf.c
index 97fbfbc..b729d65 100644
--- a/src/libnet_link_pf.c
+++ b/src/libnet_link_pf.c
@@ -165,3 +165,10 @@ libnet_write_link_layer(struct libnet_link_int *l, const int8_t *device,
}
return (c);
}
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_link_snit.c b/src/libnet_link_snit.c
index 3a09576..4a66e54 100644
--- a/src/libnet_link_snit.c
+++ b/src/libnet_link_snit.c
@@ -144,3 +144,10 @@ libnet_write_link_layer(struct libnet_link_int *l, const int8_t *device,
}
return (c);
}
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_link_snoop.c b/src/libnet_link_snoop.c
index 883875c..242db55 100644
--- a/src/libnet_link_snoop.c
+++ b/src/libnet_link_snoop.c
@@ -209,9 +209,10 @@ libnet_get_hwaddr(libnet_t *l)
return NULL;
}
-/* ---- Emacs Variables ----
+
+/**
* Local Variables:
- * c-basic-offset: 4
- * indent-tabs-mode: nil
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
* End:
*/
diff --git a/src/libnet_link_win32.c b/src/libnet_link_win32.c
index c1ca6dd..170d769 100644
--- a/src/libnet_link_win32.c
+++ b/src/libnet_link_win32.c
@@ -362,3 +362,9 @@ BYTE *libnet_win32_read_arp_table(DWORD DestIP)
return(NULL);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_pblock.c b/src/libnet_pblock.c
index bf2a548..9fd015f 100644
--- a/src/libnet_pblock.c
+++ b/src/libnet_pblock.c
@@ -615,4 +615,9 @@ libnet_pblock_record_ip_offset(libnet_t *l, libnet_pblock_t *p)
*/
}
-
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_port_list.c b/src/libnet_port_list.c
index ed61e0e..9c7c3b6 100644
--- a/src/libnet_port_list.c
+++ b/src/libnet_port_list.c
@@ -285,3 +285,9 @@ libnet_plist_chain_free(libnet_plist_t *plist)
return (1);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_prand.c b/src/libnet_prand.c
index 8f4ef44..53c3e09 100644
--- a/src/libnet_prand.c
+++ b/src/libnet_prand.c
@@ -107,3 +107,9 @@ libnet_get_prand(int mod)
return (0); /* NOTTREACHED */
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_raw.c b/src/libnet_raw.c
index 1f05348..5195b75 100644
--- a/src/libnet_raw.c
+++ b/src/libnet_raw.c
@@ -268,3 +268,10 @@ libnet_close_raw6(libnet_t *l)
return (close(l->fd));
}
#endif
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_resolve.c b/src/libnet_resolve.c
index 38e6034..23475e6 100644
--- a/src/libnet_resolve.c
+++ b/src/libnet_resolve.c
@@ -470,3 +470,9 @@ libnet_hex_aton(const char *s, int *len)
return (buf);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_version.c b/src/libnet_version.c
index cf62c4b..144de30 100644
--- a/src/libnet_version.c
+++ b/src/libnet_version.c
@@ -40,3 +40,9 @@ libnet_version(void)
return (banner);
}
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */
diff --git a/src/libnet_write.c b/src/libnet_write.c
index 7d571f2..8f8107e 100644
--- a/src/libnet_write.c
+++ b/src/libnet_write.c
@@ -342,3 +342,10 @@ libnet_write_raw_ipv6(libnet_t *l, const uint8_t *packet, uint32_t size)
return (c);
}
#endif /* __WIN32__ */
+
+/**
+ * Local Variables:
+ * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
+ * End:
+ */