Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/tcpdump/print-mpcp.c
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | |||||
static const struct tok mpcp_reg_ack_flag_values[] = { | static const struct tok mpcp_reg_ack_flag_values[] = { | ||||
{ 0, "NACK" }, | { 0, "NACK" }, | ||||
{ 1, "ACK" }, | { 1, "ACK" }, | ||||
{ 0, NULL} | { 0, NULL} | ||||
}; | }; | ||||
void | void | ||||
mpcp_print(netdissect_options *ndo, register const u_char *pptr, register u_int length) { | mpcp_print(netdissect_options *ndo, register const u_char *pptr, register u_int length) | ||||
{ | |||||
union { | union { | ||||
const struct mpcp_common_header_t *common_header; | const struct mpcp_common_header_t *common_header; | ||||
const struct mpcp_grant_t *grant; | const struct mpcp_grant_t *grant; | ||||
const struct mpcp_reg_req_t *reg_req; | const struct mpcp_reg_req_t *reg_req; | ||||
const struct mpcp_reg_t *reg; | const struct mpcp_reg_t *reg; | ||||
const struct mpcp_reg_ack_t *reg_ack; | const struct mpcp_reg_ack_t *reg_ack; | ||||
} mpcp; | } mpcp; | ||||
▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines |