Searched refs:bpf_u_int32 (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-11.0-release/contrib/libpcap/pcap/
H A Dnamedb.h59 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 Dpcap.h74 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 Dbpf.h83 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 Dsf-pcap-ng.h29 extern pcap_t *pcap_ng_check_header(bpf_u_int32 magic, FILE *fp,
H A Dsf-pcap.h34 extern pcap_t *pcap_check_header(bpf_u_int32 magic, FILE *fp,
H A Dnametoaddr.c95 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 Dsf-pcap-ng.c71 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 Dgencode.h223 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 Dpcap-dlpi.c141 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 Dpcap-int.h298 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 Ddlpisubs.c45 #define PKTBUFSIZE (MAXDLBUF * sizeof(bpf_u_int32))
275 bpf_u_int32 ss, chunksize;
H A Dsavefile.c245 static pcap_t *(*check_headers[])(bpf_u_int32, FILE *, u_int, char *, int *) = {
260 bpf_u_int32 magic;
H A Dgencode.c225 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 Dpcap-sita.c415 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 Doptimize.c130 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 Dpcap-libdlpi.c47 static int dlpromiscon(pcap_t *, bpf_u_int32);
248 dlpromiscon(pcap_t *p, bpf_u_int32 level)
H A Dgrammar.y259 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 Dsf-pcap.c151 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 Dfindalldevstest.c15 static char *iptos(bpf_u_int32 in);
22 bpf_u_int32 net, mask;
121 static char *iptos(bpf_u_int32 in)
H A Dcapturetest.c66 bpf_u_int32 localnet, netmask;
/freebsd-11.0-release/sys/net/
H A Dbpf.h47 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 Dbpf_filter.c88 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 Dpcap-bpf.h67 typedef unsigned long bpf_u_int32; typedef
70 typedef u_int bpf_u_int32; typedef
H A Dbpf-ipf.h55 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 Dether_reflect.c64 bpf_u_int32 localnet=0, netmask=0;

Completed in 264 milliseconds

12