/freebsd-11-stable/contrib/tcpdump/ |
H A D | signature.c | 118 signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen, argument 126 if (!ndo->ndo_sigsecret) { 176 (unsigned char *)ndo->ndo_sigsecret, 177 strlen(ndo->ndo_sigsecret), sig); 193 ND_PRINT((ndo, "%02x", sig[i])); 201 signature_verify(netdissect_options *ndo _U_, const u_char *pptr _U_,
|
H A D | smbutil.c | 127 name_interpret(netdissect_options *ndo, argument 168 name_ptr(netdissect_options *ndo, argument 208 name_extract(netdissect_options *ndo, argument 211 const u_char *p = name_ptr(ndo, buf, ofs, maxbuf); 215 return(name_interpret(ndo, p, maxbuf, name)); 223 name_len(netdissect_options *ndo, argument 249 print_asc(netdissect_options *ndo, argument 254 safeputchar(ndo, buf[i]); 275 smb_print_data(netdissect_options *ndo, const unsigned char *buf, int len) argument 281 ND_PRINT((ndo, "[ 324 write_bits(netdissect_options *ndo, unsigned int val, const char *fmt) argument 342 unistr(netdissect_options *ndo, const u_char *s, uint32_t *len, int use_unicode) argument 435 smb_fdata1(netdissect_options *ndo, const u_char *buf, const char *fmt, const u_char *maxbuf, int unicodestr) argument 796 smb_fdata(netdissect_options *ndo, const u_char *buf, const char *fmt, const u_char *maxbuf, int unicodestr) argument [all...] |
H A D | print-icmp.c | 330 icmp_print(netdissect_options *ndo, const u_char *bp, u_int plen, const u_char *bp2, argument 374 ipaddr_string(ndo, &dp->icmp_ip.ip_dst), 390 ipaddr_string(ndo, &oip->ip_dst), 391 tcpport_string(ndo, dport)); 397 ipaddr_string(ndo, &oip->ip_dst), 398 udpport_string(ndo, dport)); 404 ipaddr_string(ndo, &oip->ip_dst), 418 ipaddr_string(ndo, &dp->icmp_ip.ip_dst), mtu); 422 ipaddr_string(ndo, &dp->icmp_ip.ip_dst)); 431 ipaddr_string(ndo, [all...] |
H A D | print-tipc.c | 159 print_payload(netdissect_options *ndo, const struct payload_tipc_pkthdr *ap) argument 186 ND_PRINT((ndo, "TIPC v%u.0 %u.%u.%u:%u > %u, headerlength %u bytes, MessageSize %u bytes, %s, messageType %s", 197 ND_PRINT((ndo, "TIPC v%u.0 %u.%u.%u:%u > %u.%u.%u:%u, headerlength %u bytes, MessageSize %u bytes, %s, messageType %s", 207 if (ndo->ndo_vflag) { 212 ND_PRINT((ndo, "\n\tPrevious Node %u.%u.%u, Broadcast Ack %u, Link Ack %u, Link Sequence %u", 220 ND_PRINT((ndo, "%s", tstr)); 224 print_internal(netdissect_options *ndo, const struct internal_tipc_pkthdr *ap) argument 254 ND_PRINT((ndo, "TIPC v%u.0 %u.%u.%u > %u.%u.%u, headerlength %u bytes, MessageSize %u bytes, %s, messageType %s (0x%08x)", 262 if (ndo->ndo_vflag) { 279 ND_PRINT((ndo, "\ 292 print_link_conf(netdissect_options *ndo, const struct link_conf_tipc_pkthdr *ap) argument 338 tipc_print(netdissect_options *ndo, const u_char *bp, u_int length _U_, u_int caplen _U_) argument [all...] |
H A D | tcpdump.c | 985 open_interface(const char *device, netdissect_options *ndo, char *ebuf) argument 1011 status = pcap_set_tstamp_precision(pc, ndo->ndo_tstamp_precision); 1015 tstamp_precision_to_string(ndo->ndo_tstamp_precision), 1035 status = pcap_set_snaplen(pc, ndo->ndo_snaplen); 1119 pc = pcap_open_live(device, ndo->ndo_snaplen, !pflag, 1000, ebuf); 1175 netdissect_options *ndo = &Ndo; local 1183 memset(ndo, 0, sizeof(*ndo)); 1184 ndo_set_function_pointers(ndo); 1185 ndo [all...] |
H A D | netdissect.h | 283 * The "ndo->ndo_snapend - (l) <= ndo->ndo_snapend" checks to make sure 284 * "l" isn't so large that "ndo->ndo_snapend - (l)" underflows. 309 ((uintptr_t)ndo->ndo_snapend - (l) <= (uintptr_t)ndo->ndo_snapend && \ 310 (uintptr_t)&(var) <= (uintptr_t)ndo->ndo_snapend - (l))) 321 #define ND_PRINT(STUFF) (*ndo->ndo_printf)STUFF 322 #define ND_DEFAULTPRINT(ap, length) (*ndo->ndo_default_print)(ndo, ap, length) 330 extern u_int fn_printztn(netdissect_options *ndo, cons [all...] |
/freebsd-11-stable/usr.sbin/rtsold/ |
H A D | rtsol.c | 253 struct nd_opt_hdr *ndo; local 399 ndo = (struct nd_opt_hdr *)raoptp; 400 warnmsg(LOG_DEBUG, __func__, "ndo = %p", raoptp); 401 warnmsg(LOG_DEBUG, __func__, "ndo->nd_opt_type = %d", 402 ndo->nd_opt_type); 403 warnmsg(LOG_DEBUG, __func__, "ndo->nd_opt_len = %d", 404 ndo->nd_opt_len); 406 if (ndo->nd_opt_len == 0) { 415 switch (ndo->nd_opt_type) { 467 rao = find_raopt(rai, ndo [all...] |