📄 libnet-headers.h.3
字号:
.TH "libnet-headers.h" 3 "10 Mar 2004" "libnet" \" -*- nroff -*-.ad l.nh.SH NAMElibnet-headers.h \- libnet header information .SH SYNOPSIS.br.PP.SS "Data Structures".in +1c.ti -1c.RI "struct \fBlibnet_802_1q_hdr\fP".br.ti -1c.RI "struct \fBlibnet_802_1x_hdr\fP".br.ti -1c.RI "struct \fBlibnet_802_2_hdr\fP".br.ti -1c.RI "struct \fBlibnet_802_2snap_hdr\fP".br.ti -1c.RI "struct \fBlibnet_802_3_hdr\fP".br.ti -1c.RI "struct \fBlibnet_ah_hdr\fP".br.ti -1c.RI "struct \fBlibnet_arp_hdr\fP".br.ti -1c.RI "struct \fBlibnet_as_lsa_hdr\fP".br.ti -1c.RI "struct \fBlibnet_auth_hdr\fP".br.ti -1c.RI "struct \fBlibnet_bgp4_header_hdr\fP".br.ti -1c.RI "struct \fBlibnet_bgp4_notification_hdr\fP".br.ti -1c.RI "struct \fBlibnet_bgp4_open_hdr\fP".br.ti -1c.RI "struct \fBlibnet_cdp_hdr\fP".br.ti -1c.RI "struct \fBlibnet_cdp_value_hdr\fP".br.ti -1c.RI "struct \fBlibnet_dbd_hdr\fP".br.ti -1c.RI "struct \fBlibnet_dhcpv4_hdr\fP".br.ti -1c.RI "struct \fBlibnet_dnsv4_hdr\fP".br.ti -1c.RI "struct \fBlibnet_esp_ftr\fP".br.ti -1c.RI "struct \fBlibnet_esp_hdr\fP".br.ti -1c.RI "struct \fBlibnet_ether_addr\fP".br.ti -1c.RI "struct \fBlibnet_ethernet_hdr\fP".br.ti -1c.RI "struct \fBlibnet_fddi_addr\fP".br.ti -1c.RI "struct \fBlibnet_fddi_hdr\fP".br.ti -1c.RI "struct \fBlibnet_gre_hdr\fP".br.ti -1c.RI "struct \fBlibnet_gre_sre_hdr\fP".br.ti -1c.RI "struct \fBlibnet_icmpv4_hdr\fP".br.ti -1c.RI "struct \fBlibnet_icmpv6_hdr\fP".br.ti -1c.RI "struct \fBlibnet_igmp_hdr\fP".br.ti -1c.RI "struct \fBlibnet_in6_addr\fP".br.ti -1c.RI "struct \fBlibnet_ipv4_hdr\fP".br.ti -1c.RI "struct \fBlibnet_ipv6_destopts_hdr\fP".br.ti -1c.RI "struct \fBlibnet_ipv6_frag_hdr\fP".br.ti -1c.RI "struct \fBlibnet_ipv6_hbhopts_hdr\fP".br.ti -1c.RI "struct \fBlibnet_ipv6_hdr\fP".br.ti -1c.RI "struct \fBlibnet_ipv6_routing_hdr\fP".br.ti -1c.RI "struct \fBlibnet_isl_hdr\fP".br.ti -1c.RI "struct \fBlibnet_lsa_hdr\fP".br.ti -1c.RI "struct \fBlibnet_lsr_hdr\fP".br.ti -1c.RI "struct \fBlibnet_lsu_hdr\fP".br.ti -1c.RI "struct \fBlibnet_mpls_hdr\fP".br.ti -1c.RI "struct \fBlibnet_net_lsa_hdr\fP".br.ti -1c.RI "struct \fBlibnet_ntp_hdr\fP".br.ti -1c.RI "struct \fBlibnet_ntp_hdr_l_fp\fP".br.ti -1c.RI "struct \fBlibnet_ntp_hdr_s_fp\fP".br.ti -1c.RI "struct \fBlibnet_ospf_hdr\fP".br.ti -1c.RI "struct \fBlibnet_ospf_hello_hdr\fP".br.ti -1c.RI "struct \fBlibnet_rip_hdr\fP".br.ti -1c.RI "struct \fBlibnet_rpc_call\fP".br.ti -1c.RI "struct \fBlibnet_rpc_call_hdr\fP".br.ti -1c.RI "struct \fBlibnet_rpc_call_tcp_hdr\fP".br.ti -1c.RI "struct \fBlibnet_rpc_opaque_auth\fP".br.ti -1c.RI "struct \fBlibnet_rtr_lsa_hdr\fP".br.ti -1c.RI "struct \fBlibnet_sebek_hdr\fP".br.ti -1c.RI "struct \fBlibnet_stp_conf_hdr\fP".br.ti -1c.RI "struct \fBlibnet_stp_tcn_hdr\fP".br.ti -1c.RI "struct \fBlibnet_sum_lsa_hdr\fP".br.ti -1c.RI "struct \fBlibnet_tcp_hdr\fP".br.ti -1c.RI "struct \fBlibnet_token_ring_addr\fP".br.ti -1c.RI "struct \fBlibnet_token_ring_hdr\fP".br.ti -1c.RI "struct \fBlibnet_udp_hdr\fP".br.ti -1c.RI "struct \fBlibnet_vrrp_hdr\fP".br.in -1c.SS "Defines".in +1c.ti -1c.RI "#define \fBLIBNET_802_1Q_H\fP 0x12".br.ti -1c.RI "#define \fBLIBNET_802_1X_H\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_802_2_H\fP 0x03".br.ti -1c.RI "#define \fBLIBNET_802_2SNAP_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_802_3_H\fP 0x0e".br.ti -1c.RI "#define \fBLIBNET_ARP_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_ARP_ETH_IP_H\fP 0x1c".br.ti -1c.RI "#define \fBLIBNET_BGP4_HEADER_H\fP 0x13".br.ti -1c.RI "#define \fBLIBNET_BGP4_OPEN_H\fP 0x0a".br.ti -1c.RI "#define \fBLIBNET_BGP4_UPDATE_H\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_BGP4_NOTIFICATION_H\fP 0x02".br.ti -1c.RI "#define \fBLIBNET_CDP_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_DHCPV4_H\fP 0xf0".br.ti -1c.RI "#define \fBLIBNET_UDP_DNSV4_H\fP 0x0c".br.ti -1c.RI "#define \fBLIBNET_TCP_DNSV4_H\fP 0x0e".br.ti -1c.RI "#define \fBLIBNET_ETH_H\fP 0x0e".br.ti -1c.RI "#define \fBLIBNET_FDDI_H\fP 0x15".br.ti -1c.RI "#define \fBLIBNET_ICMPV4_H\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_ICMPV4_ECHO_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_ICMPV4_MASK_H\fP 0x0c".br.ti -1c.RI "#define \fBLIBNET_ICMPV4_UNREACH_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_ICMPV4_TIMXCEED_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_ICMPV4_REDIRECT_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_ICMPV4_TS_H\fP 0x14".br.ti -1c.RI "#define \fBLIBNET_ICMPV6_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_IGMP_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_IPV4_H\fP 0x14".br.ti -1c.RI "#define \fBLIBNET_IPV6_H\fP 0x28".br.ti -1c.RI "#define \fBLIBNET_IPV6_FRAG_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_IPV6_ROUTING_H\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_IPV6_DESTOPTS_H\fP 0x02".br.ti -1c.RI "#define \fBLIBNET_IPV6_HBHOPTS_H\fP 0x02".br.ti -1c.RI "#define \fBLIBNET_IPSEC_ESP_HDR_H\fP 0x0c".br.ti -1c.RI "#define \fBLIBNET_IPSEC_ESP_FTR_H\fP 0x02".br.ti -1c.RI "#define \fBLIBNET_IPSEC_AH_H\fP 0x10".br.ti -1c.RI "#define \fBLIBNET_ISL_H\fP 0x1a".br.ti -1c.RI "#define \fBLIBNET_GRE_H\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_GRE_SRE_H\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_MPLS_H\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_OSPF_H\fP 0x10".br.ti -1c.RI "#define \fBLIBNET_OSPF_HELLO_H\fP 0x18".br.ti -1c.RI "#define \fBLIBNET_OSPF_DBD_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_OSPF_LSR_H\fP 0x0c".br.ti -1c.RI "#define \fBLIBNET_OSPF_LSU_H\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_OSPF_LSA_H\fP 0x14".br.ti -1c.RI "#define \fBLIBNET_OSPF_AUTH_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_OSPF_CKSUM\fP 0x10".br.ti -1c.RI "#define \fBLIBNET_OSPF_LS_RTR_H\fP 0x10".br.ti -1c.RI "#define \fBLIBNET_OSPF_LS_NET_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_OSPF_LS_SUM_H\fP 0x0c".br.ti -1c.RI "#define \fBLIBNET_OSPF_LS_AS_EXT_H\fP 0x10".br.ti -1c.RI "#define \fBLIBNET_NTP_H\fP 0x30".br.ti -1c.RI "#define \fBLIBNET_RIP_H\fP 0x18".br.ti -1c.RI "#define \fBLIBNET_RPC_CALL_H\fP 0x28".br.ti -1c.RI "#define \fBLIBNET_RPC_CALL_TCP_H\fP 0x2c".br.ti -1c.RI "#define \fBLIBNET_SEBEK_H\fP 0x30".br.ti -1c.RI "#define \fBLIBNET_STP_CONF_H\fP 0x23".br.ti -1c.RI "#define \fBLIBNET_STP_TCN_H\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_TOKEN_RING_H\fP 0x16".br.ti -1c.RI "#define \fBLIBNET_TCP_H\fP 0x14".br.ti -1c.RI "#define \fBLIBNET_UDP_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_VRRP_H\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_802_1Q_PRIMASK\fP 0x0007".br.ti -1c.RI "#define \fBLIBNET_802_1Q_CFIMASK\fP 0x0001".br.ti -1c.RI "#define \fBLIBNET_802_1Q_VIDMASK\fP 0x0fff".br.ti -1c.RI "#define \fBLIBNET_802_1X_PACKET\fP 0x00".br.ti -1c.RI "#define \fBLIBNET_802_1X_START\fP 0x01".br.ti -1c.RI "#define \fBLIBNET_802_1X_LOGOFF\fP 0x02".br.ti -1c.RI "#define \fBLIBNET_802_1X_KEY\fP 0x03".br.ti -1c.RI "#define \fBLIBNET_802_1X_ENCASFAL\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_SAP_STP\fP 0x42".br.ti -1c.RI "#define \fBLIBNET_SAP_SNAP\fP 0xaa".br.ti -1c.RI "#define \fBARPHRD_NETROM\fP 0".br.ti -1c.RI "#define \fBARPHRD_ETHER\fP 1".br.ti -1c.RI "#define \fBARPHRD_EETHER\fP 2".br.ti -1c.RI "#define \fBARPHRD_AX25\fP 3".br.ti -1c.RI "#define \fBARPHRD_PRONET\fP 4".br.ti -1c.RI "#define \fBARPHRD_CHAOS\fP 5".br.ti -1c.RI "#define \fBARPHRD_IEEE802\fP 6".br.ti -1c.RI "#define \fBARPHRD_ARCNET\fP 7".br.ti -1c.RI "#define \fBARPHRD_APPLETLK\fP 8".br.ti -1c.RI "#define \fBARPHRD_LANSTAR\fP 9".br.ti -1c.RI "#define \fBARPHRD_DLCI\fP 15".br.ti -1c.RI "#define \fBARPHRD_ATM\fP 19".br.ti -1c.RI "#define \fBARPHRD_METRICOM\fP 23".br.ti -1c.RI "#define \fBARPHRD_IPSEC\fP 31".br.ti -1c.RI "#define \fBARPOP_REQUEST\fP 1".br.ti -1c.RI "#define \fBARPOP_REPLY\fP 2".br.ti -1c.RI "#define \fBARPOP_REVREQUEST\fP 3".br.ti -1c.RI "#define \fBARPOP_REVREPLY\fP 4".br.ti -1c.RI "#define \fBARPOP_INVREQUEST\fP 8".br.ti -1c.RI "#define \fBARPOP_INVREPLY\fP 9".br.ti -1c.RI "#define \fBLIBNET_BGP4_MARKER_SIZE\fP 16".br.ti -1c.RI "#define \fBLIBNET_BGP4_OPEN\fP 1".br.ti -1c.RI "#define \fBLIBNET_BGP4_UPDATE\fP 2".br.ti -1c.RI "#define \fBLIBNET_BGP4_NOTIFICATION\fP 3".br.ti -1c.RI "#define \fBLIBNET_BGP4_KEEPALIVE\fP 4".br.ti -1c.RI "#define \fBLIBNET_BGP4_MESSAGE_HEADER_ERROR\fP 1".br.ti -1c.RI "#define \fBLIBNET_BGP4_OPEN_MESSAGE_ERROR\fP 2".br.ti -1c.RI "#define \fBLIBNET_BGP4_UPDATE_MESSAGE_ERROR\fP 3".br.ti -1c.RI "#define \fBLIBNET_BGP4_HOLD_TIMER_EXPIRED\fP 4".br.ti -1c.RI "#define \fBLIBNET_BGP4_FINITE_STATE__ERROR\fP 5".br.ti -1c.RI "#define \fBLIBNET_BGP4_CEASE\fP 6".br.ti -1c.RI "#define \fBLIBNET_BGP4_CONNECTION_NOT_SYNCHRONIZED\fP 1".br.ti -1c.RI "#define \fBLIBNET_BGP4_BAD_MESSAGE_LENGTH\fP 2".br.ti -1c.RI "#define \fBLIBNET_BGP4_BAD_MESSAGE_TYPE\fP 3".br.ti -1c.RI "#define \fBLIBNET_BGP4_UNSUPPORTED_VERSION_NUMBER\fP 1".br.ti -1c.RI "#define \fBLIBNET_BGP4_BAD_PEER_AS\fP 2".br.ti -1c.RI "#define \fBLIBNET_BGP4_BAD_BGP_IDENTIFIER\fP 3".br.ti -1c.RI "#define \fBLIBNET_BGP4_UNSUPPORTED_OPTIONAL_PARAMETER\fP 4".br.ti -1c.RI "#define \fBLIBNET_BGP4_AUTHENTICATION_FAILURE\fP 5".br.ti -1c.RI "#define \fBLIBNET_BGP4_UNACCEPTABLE_HOLD_TIME\fP 6".br.ti -1c.RI "#define \fBLIBNET_BGP4_MALFORMED_ATTRIBUTE_LIST\fP".br.ti -1c.RI "#define \fBLIBNET_BGP4_UNRECOGNIZED_WELL_KNOWN_ATTRIBUTE\fP".br.ti -1c.RI "#define \fBLIBNET_BGP4_MISSING_WELL_KNOWN_ATTRIBUTE\fP".br.ti -1c.RI "#define \fBLIBNET_BGP4_ATTRIBUTE_FLAGS_ERROR\fP".br.ti -1c.RI "#define \fBLIBNET_BGP4_ATTRIBUTE_LENGTH_ERROR\fP".br.ti -1c.RI "#define \fBLIBNET_BGP4_INVALID_ORIGIN_ATTRIBUTE\fP".br.ti -1c.RI "#define \fBLIBNET_BGP4_AS_ROUTING_LOOP\fP".br.ti -1c.RI "#define \fBLIBNET_BGP4_INVALID_NEXT_HOP_ATTRIBUTE\fP".br.ti -1c.RI "#define \fBLIBNET_BGP4_OPTIONAL_ATTRIBUTE_ERROR\fP".br.ti -1c.RI "#define \fBLIBNET_BGP4_INVALID_NETWORK_FIELD\fP".br.ti -1c.RI "#define \fBLIBNET_BGP4_MALFORMED_AS_PATH\fP".br.ti -1c.RI "#define \fBLIBNET_PROTO_CDP\fP 200".br.ti -1c.RI "#define \fBLIBNET_CDP_DEVID\fP 0x1".br.ti -1c.RI "#define \fBLIBNET_CDP_ADDRESS\fP 0x2".br.ti -1c.RI "#define \fBLIBNET_CDP_PORTID\fP 0x3".br.ti -1c.RI "#define \fBLIBNET_CDP_CAPABIL\fP 0x4".br.ti -1c.RI "#define \fBLIBNET_CDP_VERSION\fP 0x5".br.ti -1c.RI "#define \fBLIBNET_CDP_PLATFORM\fP 0x6".br.ti -1c.RI "#define \fBLIBNET_CDP_IPPREFIX\fP 0x7".br.ti -1c.RI "#define \fBLIBNET_CDP_CAP_L3R\fP 0x01".br.ti -1c.RI "#define \fBLIBNET_CDP_CAP_L2B\fP 0x02".br.ti -1c.RI "#define \fBLIBNET_CDP_CAP_L2SRB\fP 0x04".br.ti -1c.RI "#define \fBLIBNET_CDP_CAP_L2S\fP 0x08".br.ti -1c.RI "#define \fBLIBNET_CDP_CAP_SR\fP 0x10".br.ti -1c.RI "#define \fBLIBNET_CDP_CAP_NOI\fP 0x20".br.ti -1c.RI "#define \fBLIBNET_CDP_CAP_L1F\fP 0x40".br.ti -1c.RI "#define \fBLIBNET_DHCP_REQUEST\fP 0x1".br.ti -1c.RI "#define \fBLIBNET_DHCP_REPLY\fP 0x2".br.ti -1c.RI "#define \fBDHCP_MAGIC\fP 0x63825363".br.ti -1c.RI "#define \fBLIBNET_BOOTP_MIN_LEN\fP 0x12c".br
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -