Home
last modified time | relevance | path

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

12

/external/libpcap/
Dpcap1.h68 typedef u_int bpf_u_int32; typedef
125 bpf_u_int32 info_len; /* in bytes */
126 bpf_u_int32 info_type; /* enum pcap1_info_types */
132 bpf_u_int32 nanoseconds; /* 10^-9 of seconds */
133 bpf_u_int32 seconds; /* seconds since Unix epoch - GMT */
140 bpf_u_int32 caplen; /* length of portion present */
141 bpf_u_int32 len; /* length this packet (off wire) */
142 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */
143 bpf_u_int32 ifIndex; /* abstracted interface index */
157 bpf_u_int32 probeloc; /* enum pcap1_probe */
[all …]
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 len;
[all …]
Dnametoaddr.c98 bpf_u_int32 **
102 static bpf_u_int32 *hlist[2]; in pcap_nametoaddr()
104 bpf_u_int32 **p; in pcap_nametoaddr()
109 hlist[0] = (bpf_u_int32 *)hp->h_addr; in pcap_nametoaddr()
113 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) in pcap_nametoaddr()
115 return (bpf_u_int32 **)hp->h_addr_list; in pcap_nametoaddr()
145 bpf_u_int32
360 __pcap_atoin(const char *s, bpf_u_int32 *addr) in __pcap_atoin()
382 __pcap_atodn(const char *s, bpf_u_int32 *addr) in __pcap_atodn()
Dpcap-dlpi.c146 static int dlpromiscon(pcap_t *, bpf_u_int32);
147 static int dlbindreq(int, bpf_u_int32, char *);
161 static char *dlstrerror(bpf_u_int32);
162 static char *dlprim(bpf_u_int32);
164 static char *get_release(bpf_u_int32 *, bpf_u_int32 *, bpf_u_int32 *);
175 static bpf_u_int32 ctlbuf[MAXDLBUF];
351 bpf_u_int32 ss;
354 bpf_u_int32 osmajor, osminor, osmicro;
357 bpf_u_int32 buf[MAXDLBUF];
838 bpf_u_int32 buf[MAXDLBUF];
[all …]
Dgencode.h225 typedef bpf_u_int32 atomset;
232 typedef bpf_u_int32 *uset;
303 struct block *gen_ncode(const char *, bpf_u_int32, struct qual);
319 struct block *gen_atmfield_code(int atmfield, bpf_int32 jvalue, bpf_u_int32 jtype, int reverse);
324 struct block *gen_mtp3field_code(int mtp3field, bpf_u_int32 jvalue, bpf_u_int32 jtype, int reverse);
Dpcap-int.h277 bpf_u_int32 caplen; /* length of portion present */
278 bpf_u_int32 len; /* length this packet (off wire) */
293 bpf_u_int32 caplen; /* length of portion present */
294 bpf_u_int32 len; /* length this packet (off wire) */
Dgencode.c227 bpf_u_int32);
229 static struct block *gen_ncmp(enum e_offrel, bpf_u_int32, bpf_u_int32,
230 bpf_u_int32, bpf_u_int32, int, bpf_int32);
250 static struct block *gen_snap(bpf_u_int32, bpf_u_int32);
252 static struct block *gen_hostop(bpf_u_int32, bpf_u_int32, int, int, u_int, u_int);
262 static struct block *gen_dnhostop(bpf_u_int32, int);
264 static struct block *gen_host(bpf_u_int32, bpf_u_int32, int, int, int);
269 static struct block *gen_gateway(const u_char *, bpf_u_int32 **, int, int);
398 static bpf_u_int32 netmask;
404 const char *buf, int optimize, bpf_u_int32 mask);
[all …]
Dsf-pcap-ng.h29 extern pcap_t *pcap_ng_check_header(bpf_u_int32 magic, FILE *fp,
Dsf-pcap.h34 extern pcap_t *pcap_check_header(bpf_u_int32 magic, FILE *fp,
Doptimize.c134 bpf_u_int32 *space;
135 #define BITS_PER_WORD (8*sizeof(bpf_u_int32))
159 register bpf_u_int32 *_x = a, *_y = b;\
169 register bpf_u_int32 *_x = a, *_y = b;\
179 register bpf_u_int32 *_x = a, *_y = b;\
237 bpf_u_int32 *x; in find_dom()
589 bpf_u_int32 a, b; in fold_op()
1346 register bpf_u_int32 x = ep->edom[i]; in opt_j()
1899 bpf_u_int32 *p; in opt_init()
1927 edgewords = n_edges / (8 * sizeof(bpf_u_int32)) + 1; in opt_init()
[all …]
Dgrammar.y244 bpf_u_int32 h;
335 | pnum { $$.b = gen_ncode(NULL, (bpf_u_int32)$1,
403 qid: pnum { $$.b = gen_ncode(NULL, (bpf_u_int32)$1,
657 | relop NUM { $$.b = gen_atmfield_code($<blk>0.atmfieldtype, (bpf_int32)$2, (bpf_u_int32)$1, 0); }
658 …| irelop NUM { $$.b = gen_atmfield_code($<blk>0.atmfieldtype, (bpf_int32)$2, (bpf_u_int32)$1, 1);…
Dpcap-sita.c417 static char *translate_IOP_to_pcap_name(unit_t *u, char *IOPname, bpf_u_int32 iftype) {
571 bpf_u_int32 interfaceType;
611 interfaceType = ntohl(*(bpf_u_int32 *)ptr);
636 s->sin_addr.s_addr = *(bpf_u_int32 *)(ptr + 1); /* copy the address in */
650 s->sin_addr.s_addr = *(bpf_u_int32*)(ptr + 1);
664 s->sin_addr.s_addr = *(bpf_u_int32*)(ptr + 1);
678 s->sin_addr.s_addr = *(bpf_u_int32*)(ptr + 1);
Ddlpisubs.c49 #define PKTBUFSIZE (MAXDLBUF * sizeof(bpf_u_int32))
279 bpf_u_int32 ss, chunksize; in pcap_conf_bufmod()
Dsavefile.c250 static pcap_t *(*check_headers[])(bpf_u_int32, FILE *, u_int, char *, int *) = {
265 bpf_u_int32 magic; in pcap_fopen_offline_with_tstamp_precision()
Dpcap-libdlpi.c52 static int dlpromiscon(pcap_t *, bpf_u_int32);
236 dlpromiscon(pcap_t *p, bpf_u_int32 level) in dlpromiscon()
Dsf-pcap.c151 pcap_check_header(bpf_u_int32 magic, FILE *fp, u_int precision, char *errbuf, in pcap_check_header()
403 bpf_u_int32 t; in pcap_next_packet()
Dtokdefs.h291 bpf_u_int32 h;
Dinet.c715 register bpf_u_int32 *netp, *maskp;
897 register bpf_u_int32 *netp, *maskp;
Dpcap-win32.c91 bpf_u_int32 bh_caplen; /* length of captured portion */
92 bpf_u_int32 bh_datalen; /* original length of packet */
/external/libpcap/pcap/
Dpcap.h78 typedef u_int bpf_u_int32; typedef
125 bpf_u_int32 magic;
129 bpf_u_int32 sigfigs; /* accuracy of timestamps */
130 bpf_u_int32 snaplen; /* max length saved portion of each pkt */
131 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */
164 bpf_u_int32 caplen; /* length of portion present */
165 bpf_u_int32 len; /* length this packet (off wire) */
221 bpf_u_int32 flags; /* PCAP_IF_ interface flags */
275 int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *);
390 bpf_u_int32);
[all …]
Dnamedb.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 *);
Dbpf.h85 typedef unsigned long bpf_u_int32; typedef
88 typedef u_int bpf_u_int32;
1312 bpf_u_int32 k;
/external/libpcap/tests/
Dfindalldevstest.c15 static char *iptos(bpf_u_int32 in);
22 bpf_u_int32 net, mask; in main()
121 static char *iptos(bpf_u_int32 in) in iptos()
Dnonblocktest.c58 bpf_u_int32 localnet, netmask; in main()
Dfiltertest.c169 bpf_u_int32 netmask = PCAP_NETMASK_UNKNOWN; in main()

12