/external/tcpdump/ |
H A D | print-esp.c | 82 static void esp_print_addsa(netdissect_options *ndo, argument 91 (*ndo->ndo_error)(ndo, "ran out of memory to allocate sa structure"); 96 ndo->ndo_sa_default = nsa; 98 nsa->next = ndo->ndo_sa_list_head; 99 ndo->ndo_sa_list_head = nsa; 103 static u_int hexdigit(netdissect_options *ndo, char hex) argument 112 (*ndo->ndo_error)(ndo, "invalid hex digit %c in espsecret\n", hex); 117 static u_int hex2byte(netdissect_options *ndo, cha argument 132 esp_print_decode_onesecret(netdissect_options *ndo, char *line) argument 301 esp_print_decodesecret(netdissect_options *ndo) argument 328 esp_print(netdissect_options *ndo, const u_char *bp, const int length, const u_char *bp2 _U_ , int *nhdr _U_ , int *padlen _U_ ) argument [all...] |
H A D | print-arp.c | 161 atmarp_addr_print(netdissect_options *ndo, argument 166 ND_PRINT((ndo, "<No address>")); 168 ND_PRINT((ndo, "%s", linkaddr_string(ha, ha_len))); 170 ND_PRINT((ndo, ",%s", 176 atmarp_print(netdissect_options *ndo, argument 190 ND_PRINT((ndo, "truncated-atmarp")); 197 ND_PRINT((ndo, "atmarp-#%d for proto #%d (%d/%d) hardware #%d", 202 ND_PRINT((ndo, "trailer-")); 206 ND_PRINT((ndo, "arp who-has %s", ipaddr_string(ATMTPA(ap)))); 208 ND_PRINT((ndo, " (")); 255 arp_print(netdissect_options *ndo, const u_char *bp, u_int length, u_int caplen) argument [all...] |
H A D | print-eap.c | 53 eap_print(netdissect_options *ndo, argument 62 ND_PRINT((ndo, "EAP code=%u id=%u length=%u ", 65 if (!ndo->ndo_vflag)
|
H A D | netdissect.h | 196 * The "ndo->ndo_snapend - (l) <= ndo->ndo_snapend" checks to make sure 197 * "l" isn't so large that "ndo->ndo_snapend - (l)" underflows. 201 #define ND_TTEST2(var, l) (ndo->ndo_snapend - (l) <= ndo->ndo_snapend && \ 202 (const u_char *)&(var) <= ndo->ndo_snapend - (l)) 213 #define ND_PRINT(STUFF) (*ndo->ndo_printf)STUFF 214 #define ND_DEFAULTPRINT(ap, length) (*ndo->ndo_default_print)(ndo, ap, length) 258 extern void ip_print_inner(netdissect_options *ndo, [all...] |
H A D | print-ip.c | 375 ip_print_demux(netdissect_options *ndo, argument 395 ipds->advance = esp_print(ndo, ipds->cp, ipds->len, 466 ND_PRINT((ndo, " nd %d", ipds->len)); 485 ND_PRINT((ndo, " (ipip-proto-4)")); 524 ND_PRINT((ndo, " %s", proto->p_name)); 526 ND_PRINT((ndo, " ip-proto-%d", ipds->nh)); 527 ND_PRINT((ndo, " %d", ipds->len)); 533 ip_print_inner(netdissect_options *ndo, argument 547 ip_print_demux(ndo, &ipd); 555 ip_print(netdissect_options *ndo, argument [all...] |
H A D | print-isakmp.c | 1279 isakmp_print(netdissect_options *ndo, argument 1292 ep = ndo->ndo_snapend; 1393 isakmp_rfc3948_print(netdissect_options *ndo, argument 1398 ep = ndo->ndo_snapend; 1401 ND_PRINT((ndo, "isakmp-nat-keep-alive")); 1413 ND_PRINT((ndo, "NONESP-encap: ")); 1414 isakmp_print(ndo, bp+4, length-4, bp2); 1423 ND_PRINT((ndo, "UDP-encap: ")); 1425 advance = esp_print(ndo, bp, length, bp2, &enh, &padlen); 1433 ip_print_inner(ndo, b [all...] |
H A D | tcpdump.c | 113 static void ndo_error(netdissect_options *ndo, const char *fmt, ...); 114 static void ndo_warning(netdissect_options *ndo, const char *fmt, ...); 434 static int tcpdump_printf(netdissect_options *ndo _U_, 1341 ndo_default_print(netdissect_options *ndo _U_, const u_char *bp, u_int length) 1430 ndo_error(netdissect_options *ndo _U_, const char *fmt, ...) 1449 ndo_warning(netdissect_options *ndo _U_, const char *fmt, ...)
|
/external/dhcpcd/ |
H A D | ipv6rs.c | 288 struct nd_opt_hdr *ndo; local 405 ndo = (struct nd_opt_hdr *)p; 406 olen = ndo->nd_opt_len * 8 ; 418 switch (ndo->nd_opt_type) { 420 pi = (struct nd_opt_prefix_info *)ndo; 461 op = (uint8_t *)ndo; 466 for (n = ndo->nd_opt_len - 1; n > 1; n -= 2) { 514 if (rao->type == ndo->nd_opt_type && 534 rao->type = ndo->nd_opt_type;
|