Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/tcpdump/udp.h
Show All 38 Lines | |||||
*/ | */ | ||||
struct udphdr { | struct udphdr { | ||||
uint16_t uh_sport; /* source port */ | uint16_t uh_sport; /* source port */ | ||||
uint16_t uh_dport; /* destination port */ | uint16_t uh_dport; /* destination port */ | ||||
uint16_t uh_ulen; /* udp length */ | uint16_t uh_ulen; /* udp length */ | ||||
uint16_t uh_sum; /* udp checksum */ | uint16_t uh_sum; /* udp checksum */ | ||||
}; | }; | ||||
#define BOOTPS_PORT 67 /* RFC951 */ | |||||
#define BOOTPC_PORT 68 /* RFC951 */ | |||||
#define TFTP_PORT 69 /*XXX*/ | #define TFTP_PORT 69 /*XXX*/ | ||||
#define KERBEROS_PORT 88 /*XXX*/ | #define KERBEROS_PORT 88 /*XXX*/ | ||||
#define SUNRPC_PORT 111 /*XXX*/ | #define SUNRPC_PORT 111 /*XXX*/ | ||||
#define SNMP_PORT 161 /*XXX*/ | #define SNMP_PORT 161 /*XXX*/ | ||||
#define NTP_PORT 123 /*XXX*/ | #define NTP_PORT 123 /*XXX*/ | ||||
#define SNMPTRAP_PORT 162 /*XXX*/ | #define SNMPTRAP_PORT 162 /*XXX*/ | ||||
#define ISAKMP_PORT 500 /*XXX*/ | #define ISAKMP_PORT 500 /*XXX*/ | ||||
#define SYSLOG_PORT 514 /* rfc3164 */ | #define SYSLOG_PORT 514 /* rfc3164 */ | ||||
Show All 12 Lines | |||||
#define RX_PORT_HIGH 7009 /*XXX*/ | #define RX_PORT_HIGH 7009 /*XXX*/ | ||||
#define NETBIOS_NS_PORT 137 | #define NETBIOS_NS_PORT 137 | ||||
#define NETBIOS_DGRAM_PORT 138 | #define NETBIOS_DGRAM_PORT 138 | ||||
#define CISCO_AUTORP_PORT 496 /*XXX*/ | #define CISCO_AUTORP_PORT 496 /*XXX*/ | ||||
#define RADIUS_PORT 1645 | #define RADIUS_PORT 1645 | ||||
#define RADIUS_NEW_PORT 1812 | #define RADIUS_NEW_PORT 1812 | ||||
#define RADIUS_ACCOUNTING_PORT 1646 | #define RADIUS_ACCOUNTING_PORT 1646 | ||||
#define RADIUS_NEW_ACCOUNTING_PORT 1813 | #define RADIUS_NEW_ACCOUNTING_PORT 1813 | ||||
#define RADIUS_COA_PORT 3799 | |||||
#define HSRP_PORT 1985 /*XXX*/ | #define HSRP_PORT 1985 /*XXX*/ | ||||
#define LMP_PORT 701 /* rfc4204 */ | #define LMP_PORT 701 /* rfc4204 */ | ||||
#define LWRES_PORT 921 | #define LWRES_PORT 921 | ||||
#define VQP_PORT 1589 | #define VQP_PORT 1589 | ||||
#define ZEPHYR_SRV_PORT 2103 | #define ZEPHYR_SRV_PORT 2103 | ||||
#define ZEPHYR_CLT_PORT 2104 | #define ZEPHYR_CLT_PORT 2104 | ||||
#define VAT_PORT 3456 | #define VAT_PORT 3456 | ||||
#define MPLS_LSP_PING_PORT 3503 /* draft-ietf-mpls-lsp-ping-02.txt */ | #define MPLS_LSP_PING_PORT 3503 /* draft-ietf-mpls-lsp-ping-02.txt */ | ||||
#define BFD_CONTROL_PORT 3784 /* draft-katz-ward-bfd-v4v6-1hop-00.txt */ | #define BFD_CONTROL_PORT 3784 /* draft-katz-ward-bfd-v4v6-1hop-00.txt */ | ||||
#define BFD_ECHO_PORT 3785 /* draft-katz-ward-bfd-v4v6-1hop-00.txt */ | #define BFD_ECHO_PORT 3785 /* draft-katz-ward-bfd-v4v6-1hop-00.txt */ | ||||
#define WB_PORT 4567 | #define WB_PORT 4567 | ||||
#define SFLOW_PORT 6343 /* http://www.sflow.org/developers/specifications.php */ | #define SFLOW_PORT 6343 /* http://www.sflow.org/developers/specifications.php */ | ||||
#define LWAPP_DATA_PORT 12222 /* draft-ohara-capwap-lwapp-04.txt */ | #define LWAPP_DATA_PORT 12222 /* RFC 5412 */ | ||||
#define LWAPP_CONTROL_PORT 12223 /* draft-ohara-capwap-lwapp-04.txt */ | #define LWAPP_CONTROL_PORT 12223 /* RFC 5412 */ | ||||
#define OTV_PORT 8472 /* draft-hasmit-otv-04 */ | #define OTV_PORT 8472 /* draft-hasmit-otv-04 */ | ||||
#define VXLAN_PORT 4789 /* draft-mahalingam-dutt-dcops-vxlan-04 */ | #define VXLAN_PORT 4789 /* RFC 7348 */ | ||||
#define GENEVE_PORT 6081 /* draft-gross-geneve-02 */ | |||||
#ifdef INET6 | #ifdef INET6 | ||||
#define RIPNG_PORT 521 /*XXX*/ | #define RIPNG_PORT 521 /* RFC 2080 */ | ||||
#define DHCP6_SERV_PORT 546 /*XXX*/ | #define DHCP6_SERV_PORT 546 /*XXX*/ | ||||
#define DHCP6_CLI_PORT 547 /*XXX*/ | #define DHCP6_CLI_PORT 547 /*XXX*/ | ||||
#define AHCP_PORT 5359 /* draft-chroboczek-ahcp-00 */ | #define AHCP_PORT 5359 /* draft-chroboczek-ahcp-00 */ | ||||
#define BABEL_PORT 6696 | #define BABEL_PORT 6696 /* RFC 6126 errata */ | ||||
#define BABEL_PORT_OLD 6697 | #define BABEL_PORT_OLD 6697 /* RFC 6126 */ | ||||
#endif | #endif |