Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap1.h68 typedef u_int bpf_u_int32; typedef
121 bpf_u_int32 info_len; /* in bytes */
122 bpf_u_int32 info_type; /* enum pcap1_info_types */
128 bpf_u_int32 nanoseconds; /* 10^-9 of seconds */
129 bpf_u_int32 seconds; /* seconds since Unix epoch - GMT */
136 bpf_u_int32 caplen; /* length of portion present */
137 bpf_u_int32 len; /* length this packet (off wire) */
138 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */
139 bpf_u_int32 ifIndex; /* abstracted interface index */
153 bpf_u_int32 probeloc; /* enum pcap1_probe */
[all …]
Dpcap.h71 typedef u_int bpf_u_int32; typedef
114 bpf_u_int32 magic;
118 bpf_u_int32 sigfigs; /* accuracy of timestamps */
119 bpf_u_int32 snaplen; /* max length saved portion of each pkt */
120 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */
143 bpf_u_int32 caplen; /* length of portion present */
144 bpf_u_int32 len; /* length this packet (off wire) */
200 bpf_u_int32 flags; /* PCAP_IF_ interface flags */
220 int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *);
243 bpf_u_int32);
[all …]
Dpcap-namedb.h61 bpf_u_int32 **pcap_nametoaddr(const char *);
65 bpf_u_int32 pcap_nametonetaddr(const char *);
81 int __pcap_atodn(const char *, bpf_u_int32 *);
82 int __pcap_atoin(const char *, bpf_u_int32 *);
Dnametoaddr.c100 bpf_u_int32 **
104 static bpf_u_int32 *hlist[2]; in pcap_nametoaddr()
106 bpf_u_int32 **p; in pcap_nametoaddr()
111 hlist[0] = (bpf_u_int32 *)hp->h_addr; in pcap_nametoaddr()
115 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) in pcap_nametoaddr()
117 return (bpf_u_int32 **)hp->h_addr_list; in pcap_nametoaddr()
147 bpf_u_int32
361 __pcap_atoin(const char *s, bpf_u_int32 *addr) in __pcap_atoin()
383 __pcap_atodn(const char *s, bpf_u_int32 *addr) in __pcap_atodn()
Dpcap-dlpi.c162 #define PKTBUFSIZE (MAXDLBUF * sizeof(bpf_u_int32))
172 static int dlattachreq(int, bpf_u_int32, char *);
173 static int dlbindreq(int, bpf_u_int32, char *);
175 static int dlpromisconreq(int, bpf_u_int32, char *);
183 static char *dlstrerror(bpf_u_int32);
184 static char *dlprim(bpf_u_int32);
186 static char *get_release(bpf_u_int32 *, bpf_u_int32 *, bpf_u_int32 *);
236 static bpf_u_int32 ctlbuf[MAXDLBUF];
471 bpf_u_int32 ss, chunksize; in pcap_open_live()
474 bpf_u_int32 osmajor, osminor, osmicro; in pcap_open_live()
[all …]
Dgencode.h206 typedef bpf_u_int32 atomset;
213 typedef bpf_u_int32 *uset;
284 struct block *gen_ncode(const char *, bpf_u_int32, struct qual);
300 struct block *gen_atmfield_code(int atmfield, bpf_int32 jvalue, bpf_u_int32 jtype, int reverse);
305 struct block *gen_mtp3field_code(int mtp3field, bpf_u_int32 jvalue, bpf_u_int32 jtype, int reverse);
Dpcap-int.h252 bpf_u_int32 caplen; /* length of portion present */
253 bpf_u_int32 len; /* length this packet (off wire) */
268 bpf_u_int32 caplen; /* length of portion present */
269 bpf_u_int32 len; /* length this packet (off wire) */
Dgrammar.y140 bpf_u_int32 h;
229 | pnum { $$.b = gen_ncode(NULL, (bpf_u_int32)$1,
289 qid: pnum { $$.b = gen_ncode(NULL, (bpf_u_int32)$1,
461 | relop NUM { $$.b = gen_atmfield_code($<blk>0.atmfieldtype, (bpf_int32)$2, (bpf_u_int32)$1, 0); }
462 …| irelop NUM { $$.b = gen_atmfield_code($<blk>0.atmfieldtype, (bpf_int32)$2, (bpf_u_int32)$1, 1);…
Dgencode.c188 bpf_u_int32);
190 static struct block *gen_ncmp(enum e_offrel, bpf_u_int32, bpf_u_int32,
191 bpf_u_int32, bpf_u_int32, int, bpf_int32);
205 static struct block *gen_snap(bpf_u_int32, bpf_u_int32, u_int);
207 static struct block *gen_hostop(bpf_u_int32, bpf_u_int32, int, int, u_int, u_int);
217 static struct block *gen_dnhostop(bpf_u_int32, int);
219 static struct block *gen_host(bpf_u_int32, bpf_u_int32, int, int, int);
224 static struct block *gen_gateway(const u_char *, bpf_u_int32 **, int, int);
356 static bpf_u_int32 netmask;
362 const char *buf, int optimize, bpf_u_int32 mask) in pcap_compile()
[all …]
Dwlan_filtering.patch24 static struct block *gen_snap(bpf_u_int32, bpf_u_int32, u_int);
27 static struct block *gen_hostop(bpf_u_int32, bpf_u_int32, int, int, u_int, u_int);
259 + b_check_linktype = gen_cmp(OR_LINK_AFTER_WIRELESS_HDR, 0, BPF_H, (bpf_u_int32)
333 bpf_u_int32 addr;
Dpcap-bpf.h65 typedef unsigned long bpf_u_int32; typedef
68 typedef u_int bpf_u_int32;
Doptimize.c158 bpf_u_int32 *space;
159 #define BITS_PER_WORD (8*sizeof(bpf_u_int32))
183 register bpf_u_int32 *_x = a, *_y = b;\
193 register bpf_u_int32 *_x = a, *_y = b;\
203 register bpf_u_int32 *_x = a, *_y = b;\
264 bpf_u_int32 *x;
627 bpf_u_int32 a, b;
1393 register bpf_u_int32 x = ep->edom[i];
1967 bpf_u_int32 *p;
1995 edgewords = n_edges / (8 * sizeof(bpf_u_int32)) + 1;
[all …]
Dtokdefs.h245 bpf_u_int32 h;
Dinet.c592 register bpf_u_int32 *netp, *maskp;
757 register bpf_u_int32 *netp, *maskp;
Dgrammar.c437 bpf_u_int32 h;
1836 { (yyval.blk).b = gen_ncode(NULL, (bpf_u_int32)(yyvsp[0].i),
1950 { (yyval.blk).b = gen_ncode(NULL, (bpf_u_int32)(yyvsp[0].i),
2613 …_atmfield_code((yyvsp[-2].blk).atmfieldtype, (bpf_int32)(yyvsp[0].i), (bpf_u_int32)(yyvsp[-1].i), …
2618 …_atmfield_code((yyvsp[-2].blk).atmfieldtype, (bpf_int32)(yyvsp[0].i), (bpf_u_int32)(yyvsp[-1].i), …
Dpcap-win32.c68 bpf_u_int32 bh_caplen; /* length of captured portion */
69 bpf_u_int32 bh_datalen; /* original length of packet */
Dsavefile.c984 bpf_u_int32 magic; in pcap_fopen_offline()
1179 bpf_u_int32 t; in sf_next_packet()
Dpcap-snit.c233 bpf_u_int32 flags; in nit_setflags()
Dpcap-dos.c475 int pcap_lookupnet (const char *device, bpf_u_int32 *localnet, in pcap_lookupnet()
476 bpf_u_int32 *netmask, char *errbuf) in pcap_lookupnet()
/external/tcpdump/
Dprint-atm.c220 bpf_u_int32 call_ref; in sig_print()
Dtcpdump.c452 bpf_u_int32 localnet, netmask; in main()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_freebsd.c105 bpf_u_int32 pcap_maskp, pcap_netp; in l2_packet_init_libpcap()
Dl2_packet_winpcap.c164 bpf_u_int32 pcap_maskp, pcap_netp; in l2_packet_init_libpcap()
Dl2_packet_pcap.c199 bpf_u_int32 pcap_maskp, pcap_netp; in l2_packet_init_libpcap()
/external/libpcap/bpf/net/
Dbpf_filter.c81 #define u_int32 bpf_u_int32