/freebsd-11.0-release/contrib/libpcap/pcap/ |
H A D | namedb.h | 59 bpf_u_int32 **pcap_nametoaddr(const char *); 63 bpf_u_int32 pcap_nametonetaddr(const char *); 79 int __pcap_atodn(const char *, bpf_u_int32 *); 80 int __pcap_atoin(const char *, bpf_u_int32 *);
|
H A D | pcap.h | 74 typedef u_int bpf_u_int32; typedef 121 bpf_u_int32 magic; 125 bpf_u_int32 sigfigs; /* accuracy of timestamps */ 126 bpf_u_int32 snaplen; /* max length saved portion of each pkt */ 127 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */ 160 bpf_u_int32 caplen; /* length of portion present */ 161 bpf_u_int32 len; /* length this packet (off wire) */ 217 bpf_u_int32 flags; /* PCAP_IF_ interface flags */ 273 int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, cha [all...] |
H A D | bpf.h | 83 typedef unsigned long bpf_u_int32; typedef 86 typedef u_int bpf_u_int32; typedef 1463 bpf_u_int32 k;
|
/freebsd-11.0-release/contrib/libpcap/ |
H A D | sf-pcap-ng.h | 29 extern pcap_t *pcap_ng_check_header(bpf_u_int32 magic, FILE *fp,
|
H A D | sf-pcap.h | 34 extern pcap_t *pcap_check_header(bpf_u_int32 magic, FILE *fp,
|
H A D | nametoaddr.c | 95 bpf_u_int32 ** 99 static bpf_u_int32 *hlist[2]; 101 bpf_u_int32 **p; 106 hlist[0] = (bpf_u_int32 *)hp->h_addr; 110 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) 112 return (bpf_u_int32 **)hp->h_addr_list; 142 bpf_u_int32 366 __pcap_atoin(const char *s, bpf_u_int32 *addr) 388 __pcap_atodn(const char *s, bpf_u_int32 *addr)
|
H A 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; 133 bpf_u_int32 snaplen; 160 bpf_u_int32 interface_id; 161 bpf_u_int32 timestamp_high; 162 bpf_u_int32 timestamp_low; 163 bpf_u_int32 caplen; 164 bpf_u_int32 le [all...] |
H A D | gencode.h | 223 typedef bpf_u_int32 atomset; 230 typedef bpf_u_int32 *uset; 301 struct block *gen_ncode(const char *, bpf_u_int32, struct qual); 315 struct block *gen_llc_s_subtype(bpf_u_int32); 316 struct block *gen_llc_u_subtype(bpf_u_int32); 324 struct block *gen_atmfield_code(int atmfield, bpf_int32 jvalue, bpf_u_int32 jtype, int reverse); 329 struct block *gen_mtp3field_code(int mtp3field, bpf_u_int32 jvalue, bpf_u_int32 jtype, int reverse);
|
H A 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(bpf_u_int32); 157 static char *dlprim(bpf_u_int32); 159 static char *get_release(bpf_u_int32 *, bpf_u_int32 *, bpf_u_int32 *); 170 static bpf_u_int32 ctlbuf[MAXDLBUF]; 348 bpf_u_int32 ss; 351 bpf_u_int32 osmajo [all...] |
H A D | pcap-int.h | 298 bpf_u_int32 caplen; /* length of portion present */ 299 bpf_u_int32 len; /* length this packet (off wire) */ 314 bpf_u_int32 caplen; /* length of portion present */ 315 bpf_u_int32 len; /* length this packet (off wire) */
|
H A D | dlpisubs.c | 45 #define PKTBUFSIZE (MAXDLBUF * sizeof(bpf_u_int32)) 275 bpf_u_int32 ss, chunksize;
|
H A D | savefile.c | 245 static pcap_t *(*check_headers[])(bpf_u_int32, FILE *, u_int, char *, int *) = { 260 bpf_u_int32 magic;
|
H A D | gencode.c | 225 bpf_u_int32); 227 static struct block *gen_ncmp(enum e_offrel, bpf_u_int32, bpf_u_int32, 228 bpf_u_int32, bpf_u_int32, int, bpf_int32); 248 static struct block *gen_snap(bpf_u_int32, bpf_u_int32); 250 static struct block *gen_hostop(bpf_u_int32, bpf_u_int32, int, int, u_int, u_int); 260 static struct block *gen_dnhostop(bpf_u_int32, in [all...] |
H A D | pcap-sita.c | 415 static char *translate_IOP_to_pcap_name(unit_t *u, char *IOPname, bpf_u_int32 iftype) { 569 bpf_u_int32 interfaceType; 609 interfaceType = ntohl(*(bpf_u_int32 *)ptr); 634 s->sin_addr.s_addr = *(bpf_u_int32 *)(ptr + 1); /* copy the address in */ 648 s->sin_addr.s_addr = *(bpf_u_int32*)(ptr + 1); 662 s->sin_addr.s_addr = *(bpf_u_int32*)(ptr + 1); 676 s->sin_addr.s_addr = *(bpf_u_int32*)(ptr + 1);
|
H A D | optimize.c | 130 bpf_u_int32 *space; 131 #define BITS_PER_WORD (8*sizeof(bpf_u_int32)) 155 register bpf_u_int32 *_x = a, *_y = b;\ 165 register bpf_u_int32 *_x = a, *_y = b;\ 175 register bpf_u_int32 *_x = a, *_y = b;\ 233 bpf_u_int32 *x; 585 bpf_u_int32 a, b; 1356 register bpf_u_int32 x = ep->edom[i]; 1909 bpf_u_int32 *p; 1937 edgewords = n_edges / (8 * sizeof(bpf_u_int32)) [all...] |
H A D | pcap-libdlpi.c | 47 static int dlpromiscon(pcap_t *, bpf_u_int32); 248 dlpromiscon(pcap_t *p, bpf_u_int32 level)
|
H A D | grammar.y | 259 bpf_u_int32 h; 350 | pnum { $$.b = gen_ncode(NULL, (bpf_u_int32)$1, 418 qid: pnum { $$.b = gen_ncode(NULL, (bpf_u_int32)$1, 699 | relop NUM { $$.b = gen_atmfield_code($<blk>0.atmfieldtype, (bpf_int32)$2, (bpf_u_int32)$1, 0); } 700 | irelop NUM { $$.b = gen_atmfield_code($<blk>0.atmfieldtype, (bpf_int32)$2, (bpf_u_int32)$1, 1); }
|
H A D | sf-pcap.c | 151 pcap_check_header(bpf_u_int32 magic, FILE *fp, u_int precision, char *errbuf, 403 bpf_u_int32 t;
|
/freebsd-11.0-release/contrib/libpcap/tests/ |
H A D | findalldevstest.c | 15 static char *iptos(bpf_u_int32 in); 22 bpf_u_int32 net, mask; 121 static char *iptos(bpf_u_int32 in)
|
H A D | capturetest.c | 66 bpf_u_int32 localnet, netmask;
|
/freebsd-11.0-release/sys/net/ |
H A D | bpf.h | 47 typedef u_int32_t bpf_u_int32; typedef 198 bpf_u_int32 bh_caplen; /* length of captured portion */ 199 bpf_u_int32 bh_datalen; /* original length of packet */ 206 bpf_u_int32 bh_caplen; /* length of captured portion */ 207 bpf_u_int32 bh_datalen; /* original length of packet */ 1412 bpf_u_int32 k;
|
H A D | bpf_filter.c | 88 static u_int16_t m_xhalf(struct mbuf *m, bpf_u_int32 k, int *err); 89 static u_int32_t m_xword(struct mbuf *m, bpf_u_int32 k, int *err); 92 m_xword(struct mbuf *m, bpf_u_int32 k, int *err) 141 m_xhalf(struct mbuf *m, bpf_u_int32 k, int *err) 180 bpf_u_int32 k;
|
/freebsd-11.0-release/contrib/ipfilter/ |
H A D | pcap-bpf.h | 67 typedef unsigned long bpf_u_int32; typedef 70 typedef u_int bpf_u_int32; typedef
|
H A D | bpf-ipf.h | 55 typedef u_int bpf_u_int32; typedef 153 bpf_u_int32 bh_caplen; /* length of captured portion */ 154 bpf_u_int32 bh_datalen; /* original length of packet */
|
/freebsd-11.0-release/tools/tools/ether_reflect/ |
H A D | ether_reflect.c | 64 bpf_u_int32 localnet=0, netmask=0;
|