Home
last modified time | relevance | path

Searched refs:bpf_u_int32 (Results 1 – 11 of 11) sorted by relevance

/openbsd/src/lib/libpcap/
Dpcap.h57 typedef u_int bpf_u_int32; typedef
72 bpf_u_int32 magic;
76 bpf_u_int32 sigfigs; /* accuracy of timestamps */
77 bpf_u_int32 snaplen; /* max length saved portion of each pkt */
78 bpf_u_int32 linktype; /* data link type (DLT_*) */
94 bpf_u_int32 caplen; /* length of portion present */
95 bpf_u_int32 len; /* length of this packet (off wire) */
115 bpf_u_int32 flags; /* PCAP_IF_ interface flags */
169 int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *);
204 bpf_u_int32);
[all …]
Dnametoaddr.c63 bpf_u_int32 **
67 static bpf_u_int32 *hlist[2]; in pcap_nametoaddr()
69 bpf_u_int32 **p; in pcap_nametoaddr()
74 hlist[0] = (bpf_u_int32 *)hp->h_addr; in pcap_nametoaddr()
78 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) in pcap_nametoaddr()
80 return (bpf_u_int32 **)hp->h_addr_list; in pcap_nametoaddr()
109 bpf_u_int32
269 __pcap_atoin(const char *s, bpf_u_int32 *addr) in __pcap_atoin()
291 __pcap_atodn(const char *s, bpf_u_int32 *addr) in __pcap_atodn()
Dpcap-namedb.h57 bpf_u_int32 **pcap_nametoaddr(const char *);
61 bpf_u_int32 pcap_nametonetaddr(const char *);
77 int __pcap_atodn(const char *, bpf_u_int32 *);
78 int __pcap_atoin(const char *, bpf_u_int32 *);
Dgencode.h94 typedef bpf_u_int32 atomset;
101 typedef bpf_u_int32 *uset;
172 struct block *gen_ncode(const char *, bpf_u_int32, struct qual);
Dpcap-int.h129 bpf_u_int32 caplen; /* length of portion present */
130 bpf_u_int32 len; /* length this packet (off wire) */
Dgencode.c133 static struct block *gen_mcmp(u_int, u_int, bpf_int32, bpf_u_int32);
134 static struct block *gen_mcmp_nl(u_int, u_int, bpf_int32, bpf_u_int32);
140 static struct block *gen_hostop(bpf_u_int32, bpf_u_int32, int, int, u_int, u_int);
146 static struct block *gen_dnhostop(bpf_u_int32, int, u_int);
149 static struct block *gen_host(bpf_u_int32, bpf_u_int32, int, int);
154 static struct block *gen_gateway(const u_char *, bpf_u_int32 **, int, int);
269 static bpf_u_int32 netmask;
275 const char *buf, int optimize, bpf_u_int32 mask) in pcap_compile()
322 const char *buf, int optimize, bpf_u_int32 mask) in pcap_compile_nopcap()
502 gen_mcmp(u_int offset, u_int size, bpf_int32 v, bpf_u_int32 mask) in gen_mcmp()
[all …]
Doptimize.c142 bpf_u_int32 *space1;
143 bpf_u_int32 *space2;
144 #define BITS_PER_WORD (8*sizeof(bpf_u_int32))
168 bpf_u_int32 *_x = a, *_y = b;\
178 bpf_u_int32 *_x = a, *_y = b;\
188 bpf_u_int32 *_x = a, *_y = b;\
246 bpf_u_int32 *x; in find_dom()
1229 bpf_u_int32 x = ep->edom[i]; in opt_j()
1750 bpf_u_int32 *p; in opt_init()
1780 edgewords = n_edges / (8 * sizeof(bpf_u_int32)) + 1; in opt_init()
[all …]
Dinet.c245 pcap_lookupnet(const char *device, bpf_u_int32 *netp, bpf_u_int32 *maskp, in pcap_lookupnet()
Dgrammar.y81 bpf_u_int32 h;
150 | pnum { $$.b = gen_ncode(NULL, (bpf_u_int32)$1,
200 qid: pnum { $$.b = gen_ncode(NULL, (bpf_u_int32)$1,
/openbsd/src/sys/net/
Dbpf.h47 typedef u_int32_t bpf_u_int32; typedef
/openbsd/src/usr.sbin/tcpdump/
Dtcpdump.c211 bpf_u_int32 localnet, netmask; in main()