summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Ivanov <ivalery111@gmail.com>2021-05-08 14:04:14 +0300
committerValery Ivanov <ivalery111@gmail.com>2021-05-08 14:04:14 +0300
commitdaf3fd740a92d77d5b7d10faf1278a5c51971703 (patch)
tree1d02a65609ed8f6e3c0a5000e023bc72abaea0bd
parent2ddb750bad58b9a454b08460b5b436af38dbf87c (diff)
downloadlibnet-daf3fd740a92d77d5b7d10faf1278a5c51971703.tar.gz
chore(structures): update pblocks defines with lldp info
-rw-r--r--include/libnet/libnet-structures.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libnet/libnet-structures.h b/include/libnet/libnet-structures.h
index 34fffc6..4fc135e 100644
--- a/include/libnet/libnet-structures.h
+++ b/include/libnet/libnet-structures.h
@@ -156,6 +156,12 @@ struct libnet_protocol_block
#define LIBNET_PBLOCK_ICMPV6_NDP_NSOL_H 0x43 /* ICMPv6 NDP neighbor solicitation header */
#define LIBNET_PBLOCK_ICMPV6_NDP_NADV_H 0x44 /* ICMPv6 NDP neighbor advertisement header */
#define LIBNET_PBLOCK_ICMPV6_NDP_OPT_H 0x45 /* ICMPv6 NDP option */
+#define LIBNET_PBLOCK_LLDP_H 0x50 /* LLDP header */
+#define LIBNET_PBLOCK_LLDP_CHASSIS_H 0x51 /* LLDP Chassis header */
+#define LIBNET_PBLOCK_LLDP_PORT_H 0x52 /* LLDP Port header */
+#define LIBNET_PBLOCK_LLDP_TTL_H 0x53 /* LLDP TTL header */
+#define LIBNET_PBLOCK_LLDP_END_H 0x54 /* LLDP End of LLDPDU header */
+#define LIBNET_PBLOCK_LLDP_ORG_SPEC_H 0x55 /* LLDP Organization Specific header */
uint8_t flags; /* control flags */
#define LIBNET_PBLOCK_DO_CHECKSUM 0x01 /* needs a checksum */