Home
last modified time | relevance | path

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

/openbsd/lib/libpcap/
H A 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 …]
H A 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 *);
H A 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()
H A 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);
H A Dpcap-int.h129 bpf_u_int32 caplen; /* length of portion present */
130 bpf_u_int32 len; /* length this packet (off wire) */
H A Dgencode.c140 static struct block *gen_hostop(bpf_u_int32, bpf_u_int32, int, int, u_int, u_int);
149 static struct block *gen_host(bpf_u_int32, bpf_u_int32, int, int);
270 static bpf_u_int32 netmask;
932 gen_hostop(bpf_u_int32 addr, bpf_u_int32 mask, int dir, int proto, in gen_hostop()
1183 gen_host(bpf_u_int32 addr, bpf_u_int32 mask, int proto, int dir) in gen_host()
2209 bpf_u_int32 mask, addr; in gen_scode()
2211 bpf_u_int32 **alist; in gen_scode()
2410 bpf_u_int32 n, m; in gen_mcode()
2447 bpf_u_int32 mask; in gen_ncode()
2981 bpf_u_int32 hostmask; in gen_broadcast()
[all …]
H A 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()
1794 space1 = (bpf_u_int32 *)malloc(size1); in opt_init()
[all …]
H A Dinet.c238 pcap_lookupnet(const char *device, bpf_u_int32 *netp, bpf_u_int32 *maskp, in pcap_lookupnet()
H A 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/sys/net/
H A Dbpf.h47 typedef u_int32_t bpf_u_int32; typedef
/openbsd/usr.sbin/tcpdump/
H A Dtcpdump.c211 bpf_u_int32 localnet, netmask; in main()