/external/libpcap/ |
D | pcap-int.h | 137 typedef int (*oid_get_request_op_t)(pcap_t *, bpf_u_int32, void *, size_t *); 138 typedef int (*oid_set_request_op_t)(pcap_t *, bpf_u_int32, const void *, size_t *); 328 bpf_u_int32 caplen; /* length of portion present */ 329 bpf_u_int32 len; /* length this packet (off wire) */ 344 bpf_u_int32 caplen; /* length of portion present */ 345 bpf_u_int32 len; /* length this packet (off wire) */ 421 int add_addr_to_iflist(pcap_if_t **, const char *, bpf_u_int32, 427 int pcap_add_if(pcap_if_t **, const char *, bpf_u_int32, const char *, 429 int add_or_find_if(pcap_if_t **, pcap_if_t **, const char *, bpf_u_int32, 432 bpf_u_int32 if_flags_to_pcap_flags(const char *, u_int);
|
D | sf-pcap-ng.c | 71 bpf_u_int32 block_type; 72 bpf_u_int32 total_length; 79 bpf_u_int32 total_length; 107 bpf_u_int32 byte_order_magic; 134 bpf_u_int32 snaplen; 161 bpf_u_int32 interface_id; 162 bpf_u_int32 timestamp_high; 163 bpf_u_int32 timestamp_low; 164 bpf_u_int32 caplen; 165 bpf_u_int32 len; [all …]
|
D | nametoaddr.c | 120 bpf_u_int32 ** 124 static bpf_u_int32 *hlist[2]; in pcap_nametoaddr() 126 bpf_u_int32 **p; in pcap_nametoaddr() 131 hlist[0] = (bpf_u_int32 *)hp->h_addr; in pcap_nametoaddr() 135 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) in pcap_nametoaddr() 137 return (bpf_u_int32 **)hp->h_addr_list; in pcap_nametoaddr() 167 bpf_u_int32 397 __pcap_atoin(const char *s, bpf_u_int32 *addr) in __pcap_atoin() 419 __pcap_atodn(const char *s, bpf_u_int32 *addr) in __pcap_atodn()
|
D | gencode.h | 223 typedef bpf_u_int32 atomset; 230 typedef bpf_u_int32 *uset; 307 struct block *gen_ncode(compiler_state_t *, const char *, bpf_u_int32, 323 struct block *gen_llc_s_subtype(compiler_state_t *, bpf_u_int32); 324 struct block *gen_llc_u_subtype(compiler_state_t *, bpf_u_int32); 335 bpf_u_int32, int); 340 struct block *gen_mtp3field_code(compiler_state_t *, int, bpf_u_int32, 341 bpf_u_int32, int);
|
D | pcap-dlpi.c | 141 static int dlpromiscon(pcap_t *, bpf_u_int32); 142 static int dlbindreq(int, bpf_u_int32, char *); 156 static char *dlstrerror(char *, size_t, bpf_u_int32); 157 static char *dlprim(char *, size_t, bpf_u_int32); 160 static void get_release(char *, size_t, bpf_u_int32 *, bpf_u_int32 *, 161 bpf_u_int32 *); 183 bpf_u_int32 ctlbuf[MAXDLBUF]; in pcap_read_dlpi() 498 bpf_u_int32 ss; 501 bpf_u_int32 osmajor, osminor, osmicro; 504 bpf_u_int32 buf[MAXDLBUF]; [all …]
|
D | nametoaddr.h | 42 int __pcap_atodn(const char *, bpf_u_int32 *); 43 int __pcap_atoin(const char *, bpf_u_int32 *);
|
D | dlpisubs.c | 45 #define PKTBUFSIZE (MAXDLBUF * sizeof(bpf_u_int32)) 189 if (pkthdr.caplen > (bpf_u_int32)p->snapshot) in pcap_process_pkts() 190 pkthdr.caplen = (bpf_u_int32)p->snapshot; in pcap_process_pkts() 296 bpf_u_int32 ss, chunksize; in pcap_conf_bufmod()
|
D | savefile.c | 170 sf_oid_get_request(pcap_t *p, bpf_u_int32 oid _U_, void *data _U_, in sf_oid_get_request() 179 sf_oid_set_request(pcap_t *p, bpf_u_int32 oid _U_, const void *data _U_, in sf_oid_set_request() 354 static pcap_t *(*check_headers[])(bpf_u_int32, FILE *, u_int, char *, int *) = { 369 bpf_u_int32 magic; in pcap_fopen_offline_with_tstamp_precision()
|
D | fad-helpers.c | 104 bpf_u_int32 107 bpf_u_int32 pcap_flags; in if_flags_to_pcap_flags() 376 bpf_u_int32 flags, const char *description, char *errbuf) in add_or_find_if() 660 add_addr_to_iflist(pcap_if_t **alldevs, const char *name, bpf_u_int32 flags, in add_addr_to_iflist()
|
D | sf-pcap-ng.h | 29 extern pcap_t *pcap_ng_check_header(bpf_u_int32 magic, FILE *fp,
|
D | sf-pcap.h | 34 extern pcap_t *pcap_check_header(bpf_u_int32 magic, FILE *fp,
|
D | inet.c | 126 register bpf_u_int32 *netp, *maskp; 367 register bpf_u_int32 *netp, *maskp;
|
D | gencode.c | 270 bpf_u_int32 netmask; 478 u_int, bpf_int32, bpf_u_int32); 481 static struct block *gen_ncmp(compiler_state_t *, enum e_offrel, bpf_u_int32, 482 bpf_u_int32, bpf_u_int32, bpf_u_int32, int, bpf_int32); 503 static struct block *gen_snap(compiler_state_t *, bpf_u_int32, bpf_u_int32); 505 static struct block *gen_hostop(compiler_state_t *, bpf_u_int32, bpf_u_int32, 517 static struct block *gen_dnhostop(compiler_state_t *, bpf_u_int32, int); 519 static struct block *gen_host(compiler_state_t *, bpf_u_int32, bpf_u_int32, 526 static struct block *gen_gateway(const u_char *, bpf_u_int32 **, int, int); 664 const char *buf, int optimize, bpf_u_int32 mask) in pcap_compile() [all …]
|
D | pcap-sita.c | 419 static char *translate_IOP_to_pcap_name(unit_t *u, char *IOPname, bpf_u_int32 iftype) { in translate_IOP_to_pcap_name() 573 bpf_u_int32 interfaceType; in process_client_data() 614 interfaceType = ntohl(*(bpf_u_int32 *)ptr); in process_client_data() 639 s->sin_addr.s_addr = *(bpf_u_int32 *)(ptr + 1); /* copy the address in */ in process_client_data() 653 s->sin_addr.s_addr = *(bpf_u_int32*)(ptr + 1); in process_client_data() 667 s->sin_addr.s_addr = *(bpf_u_int32*)(ptr + 1); in process_client_data() 681 s->sin_addr.s_addr = *(bpf_u_int32*)(ptr + 1); in process_client_data()
|
D | grammar.y | 273 bpf_u_int32 h; 364 | pnum { $$.b = gen_ncode(cstate, NULL, (bpf_u_int32)$1, 432 qid: pnum { $$.b = gen_ncode(cstate, NULL, (bpf_u_int32)$1, 715 …| relop NUM { $$.b = gen_atmfield_code(cstate, $<blk>0.atmfieldtype, (bpf_int32)$2, (bpf_u_int32)… 716 …| irelop NUM { $$.b = gen_atmfield_code(cstate, $<blk>0.atmfieldtype, (bpf_int32)$2, (bpf_u_int32…
|
D | sf-pcap.c | 151 pcap_check_header(bpf_u_int32 magic, FILE *fp, u_int precision, char *errbuf, in pcap_check_header() 426 bpf_u_int32 t; in pcap_next_packet() 890 if ((bpf_u_int32)linktype != ph.linktype) { in pcap_dump_open_append() 896 if ((bpf_u_int32)p->snapshot != ph.snaplen) { in pcap_dump_open_append()
|
D | optimize.c | 150 bpf_u_int32 *space; 152 #define BITS_PER_WORD (8*sizeof(bpf_u_int32)) 176 register bpf_u_int32 *_x = a, *_y = b;\ 186 register bpf_u_int32 *_x = a, *_y = b;\ 196 register bpf_u_int32 *_x = a, *_y = b;\ 285 bpf_u_int32 *x; in find_dom() 607 bpf_u_int32 a, b; in fold_op() 1380 register bpf_u_int32 x = ep->edom[i]; in opt_j() 1933 bpf_u_int32 *p; in opt_init() 1961 opt_state->edgewords = opt_state->n_edges / (8 * sizeof(bpf_u_int32)) + 1; in opt_init() [all …]
|
D | pcap-tc.c | 136 static int TcOidGetRequest(pcap_t *p, bpf_u_int32 oid, void *data, size_t *lenp); 137 static int TcOidSetRequest(pcap_t *p, bpf_u_int32 oid, const void *data, size_t *lenp); 982 hdr.ts.tv_sec = (bpf_u_int32)(tcHeader.Timestamp / (ULONGLONG)(1000 * 1000 * 1000)); in TcRead() 983 hdr.ts.tv_usec = (bpf_u_int32)((tcHeader.Timestamp % (ULONGLONG)(1000 * 1000 * 1000)) / 1000); in TcRead() 1231 TcOidGetRequest(pcap_t *p, bpf_u_int32 oid _U_, void *data _U_, size_t *lenp _U_) in TcOidGetRequest() 1239 TcOidSetRequest(pcap_t *p, bpf_u_int32 oid _U_, const void *data _U_, in TcOidSetRequest()
|
D | pcap-libdlpi.c | 47 static int dlpromiscon(pcap_t *, bpf_u_int32); 248 dlpromiscon(pcap_t *p, bpf_u_int32 level) in dlpromiscon()
|
D | pcap-win32.c | 298 pcap_oid_get_request_win32(pcap_t *p, bpf_u_int32 oid, void *data, size_t *lenp) in pcap_oid_get_request_win32() 344 pcap_oid_set_request_win32(pcap_t *p, bpf_u_int32 oid, const void *data, in pcap_oid_set_request_win32() 1349 pcap_add_if_win32(pcap_if_t **devlist, char *name, bpf_u_int32 flags, in pcap_add_if_win32() 1509 bpf_u_int32 flags = 0; in pcap_platform_finddevs()
|
D | grammar.h | 298 bpf_u_int32 h;
|
/external/libpcap/pcap/ |
D | pcap.h | 78 typedef u_int bpf_u_int32; typedef 125 bpf_u_int32 magic; 129 bpf_u_int32 sigfigs; /* accuracy of timestamps */ 130 bpf_u_int32 snaplen; /* max length saved portion of each pkt */ 131 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */ 164 bpf_u_int32 caplen; /* length of portion present */ 165 bpf_u_int32 len; /* length this packet (off wire) */ 223 bpf_u_int32 flags; /* PCAP_IF_ interface flags */ 279 PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); 394 bpf_u_int32); [all …]
|
D | bpf.h | 86 typedef unsigned long bpf_u_int32; typedef 89 typedef u_int bpf_u_int32; 242 bpf_u_int32 k;
|
D | namedb.h | 62 PCAP_API bpf_u_int32 **pcap_nametoaddr(const char *); 66 PCAP_API bpf_u_int32 pcap_nametonetaddr(const char *);
|
/external/libpcap/tests/ |
D | findalldevstest.c | 19 static char *iptos(bpf_u_int32 in); 26 bpf_u_int32 net, mask; in main() 151 static char *iptos(bpf_u_int32 in) in iptos()
|