Home
last modified time | relevance | path

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

12

/dflybsd-src/contrib/libpcap/
H A Dgencode.h210 bpf_u_int32 k; /* k field */
222 typedef bpf_u_int32 atomset;
229 typedef bpf_u_int32 *uset;
277 bpf_u_int32 val[N_ATOMS];
302 struct arth *gen_loadi(compiler_state_t *, bpf_u_int32);
303 struct arth *gen_load(compiler_state_t *, int, struct arth *, bpf_u_int32);
316 bpf_u_int32, struct qual);
319 bpf_u_int32, struct qual);
321 struct block *gen_ncode(compiler_state_t *, const char *, bpf_u_int32,
328 struct block *gen_byteop(compiler_state_t *, int, int, bpf_u_int32);
[all …]
H A Dpcap-int.h186 typedef int (*oid_get_request_op_t)(pcap_t *, bpf_u_int32, void *, size_t *);
187 typedef int (*oid_set_request_op_t)(pcap_t *, bpf_u_int32, const void *, size_t *);
401 bpf_u_int32 caplen; /* length of portion present */
402 bpf_u_int32 len; /* length of this packet (off wire) */
417 bpf_u_int32 caplen; /* length of portion present */
418 bpf_u_int32 len; /* length of this packet (off wire) */
509 typedef int (*get_if_flags_func)(const char *, bpf_u_int32 *, char *);
515 pcap_if_t *find_or_add_dev(pcap_if_list_t *, const char *, bpf_u_int32,
518 pcap_if_t *add_dev(pcap_if_list_t *, const char *, bpf_u_int32, const char *,
524 pcap_if_t *find_or_add_if(pcap_if_list_t *, const char *, bpf_u_int32,
[all …]
H A Dsf-pcapng.c54 bpf_u_int32 block_type;
55 bpf_u_int32 total_length;
62 bpf_u_int32 total_length;
90 bpf_u_int32 byte_order_magic;
118 bpf_u_int32 snaplen;
145 bpf_u_int32 interface_id;
146 bpf_u_int32 timestamp_high;
147 bpf_u_int32 timestamp_low;
148 bpf_u_int32 caplen;
149 bpf_u_int32 len;
[all …]
H A Dnametoaddr.c157 bpf_u_int32 **
161 static bpf_u_int32 *hlist[2]; in pcap_nametoaddr()
163 bpf_u_int32 **p; in pcap_nametoaddr()
184 hlist[0] = (bpf_u_int32 *)hp->h_addr; in pcap_nametoaddr()
188 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) in pcap_nametoaddr()
190 return (bpf_u_int32 **)hp->h_addr_list; in pcap_nametoaddr()
221 bpf_u_int32
239 bpf_u_int32
660 __pcap_atoin(const char *s, bpf_u_int32 *addr) in __pcap_atoin()
689 __pcap_atodn(const char *s, bpf_u_int32 *addr) in __pcap_atodn()
H A Dgencode.c269 bpf_u_int32 netmask;
503 u_int, bpf_u_int32);
505 u_int, bpf_u_int32);
507 u_int, bpf_u_int32);
509 u_int, bpf_u_int32);
511 u_int, bpf_u_int32);
513 u_int, bpf_u_int32, bpf_u_int32);
517 u_int, bpf_u_int32, int, int, bpf_u_int32);
526 static struct block *gen_ether_linktype(compiler_state_t *, bpf_u_int32);
527 static struct block *gen_ipnet_linktype(compiler_state_t *, bpf_u_int32);
[all …]
H A Doptimize.c216 bpf_u_int32 v0, v1;
226 bpf_u_int32 const_val;
272 bpf_u_int32 *space;
274 #define BITS_PER_WORD (8*sizeof(bpf_u_int32))
279 ((p)[(unsigned)(a) / BITS_PER_WORD] & ((bpf_u_int32)1 << ((unsigned)(a) % BITS_PER_WORD)))
285 (p)[(unsigned)(a) / BITS_PER_WORD] |= ((bpf_u_int32)1 << ((unsigned)(a) % BITS_PER_WORD))
291 (p)[(unsigned)(a) / BITS_PER_WORD] &= ~((bpf_u_int32)1 << ((unsigned)(a) % BITS_PER_WORD))
299 register bpf_u_int32 *_x = a, *_y = b;\
310 register bpf_u_int32 *_x = a, *_y = b;\
321 register bpf_u_int32 *_x = a, *_y = b;\
[all …]
H A Dnametoaddr.h42 int __pcap_atodn(const char *, bpf_u_int32 *);
43 int __pcap_atoin(const char *, bpf_u_int32 *);
H A Dsavefile.c164 sf_oid_get_request(pcap_t *p, bpf_u_int32 oid _U_, void *data _U_, in sf_oid_get_request()
173 sf_oid_set_request(pcap_t *p, bpf_u_int32 oid _U_, const void *data _U_, in sf_oid_set_request()
443 bpf_u_int32
444 pcap_adjust_snapshot(bpf_u_int32 linktype, bpf_u_int32 snaplen) in pcap_adjust_snapshot()
H A Dsf-pcap.c156 bpf_u_int32 magic_int; in pcap_check_header()
447 bpf_u_int32 t; in pcap_next_packet()
547 if (hdr->caplen > (bpf_u_int32)p->snapshot) { in pcap_next_packet()
560 if (hdr->caplen > (bpf_u_int32)p->snapshot) { in pcap_next_packet()
611 if (amt_read != (bpf_u_int32)p->snapshot) { in pcap_next_packet()
1053 if ((bpf_u_int32)linktype != ph.linktype) { in pcap_dump_open_append()
1059 if ((bpf_u_int32)p->snapshot != ph.snaplen) { in pcap_dump_open_append()
H A Dbpf_image.c117 if (p->k >= (bpf_u_int32)SKF_AD_OFF && in bpf_print_abs_load_operand()
118 p->k < (bpf_u_int32)(SKF_AD_OFF + SKF_AD_MAX) && in bpf_print_abs_load_operand()
119 (sym = offsets[p->k - (bpf_u_int32)SKF_AD_OFF]) != NULL) { in bpf_print_abs_load_operand()
H A Dpcap.c442 pcap_oid_get_request_not_initialized(pcap_t *pcap, bpf_u_int32 oid _U_, in pcap_oid_get_request_not_initialized()
450 pcap_oid_set_request_not_initialized(pcap_t *pcap, bpf_u_int32 oid _U_, in pcap_oid_set_request_not_initialized()
1016 bpf_u_int32 if_flags, get_if_flags_func get_flags_func, char *errbuf)
1018 bpf_u_int32 pcap_flags;
1073 bpf_u_int32 if_flags, get_if_flags_func get_flags_func,
1233 find_or_add_dev(pcap_if_list_t *devlistp, const char *name, bpf_u_int32 flags,
1308 add_dev(pcap_if_list_t *devlistp, const char *name, bpf_u_int32 flags,
1571 pcap_lookupnet(const char *device, bpf_u_int32 *netp, bpf_u_int32 *maskp,
3773 pcap_oid_get_request(pcap_t *p, bpf_u_int32 oid, void *data, size_t *lenp)
3779 pcap_oid_set_request(pcap_t *p, bpf_u_int32 oid, const void *data, size_t *lenp)
[all …]
H A Dpcap-haiku.cpp263 get_if_flags(const char *name, bpf_u_int32 *flags, char *errbuf) in get_if_flags()
H A Dpcap-airpcap.c499 airpcap_oid_get_request(pcap_t *p, bpf_u_int32 oid _U_, void *data _U_, in airpcap_oid_get_request()
508 airpcap_oid_set_request(pcap_t *p, bpf_u_int32 oid _U_, const void *data _U_, in airpcap_oid_set_request()
H A Dbpf_filter.c98 register bpf_u_int32 k; in pcap_filter_with_aux_data()
H A Dpcap-common.c1449 bpf_u_int32 offset = 0; in swap_linux_usb_header()
H A Dpcap-bpf.c2785 get_usb_if_flags(const char *name _U_, bpf_u_int32 *flags _U_, char *errbuf _U_)
2876 get_if_flags(const char *name, bpf_u_int32 *flags, char *errbuf)
2971 get_if_flags(const char *name _U_, bpf_u_int32 *flags _U_, char *errbuf _U_)
H A Dscanner.l501 bpf_u_int32 n = 0;
/dflybsd-src/contrib/libpcap/pcap/
H A Dpcap.h162 typedef u_int bpf_u_int32; typedef
210 bpf_u_int32 magic;
214 bpf_u_int32 sigfigs; /* accuracy of timestamps; this is always 0 */
215 bpf_u_int32 snaplen; /* max length saved portion of each pkt */
216 bpf_u_int32 linktype; /* data link type (LINKTYPE_*) */
249 bpf_u_int32 caplen; /* length of portion present */
250 bpf_u_int32 len; /* length of this packet (off wire) */
308 bpf_u_int32 flags; /* PCAP_IF_ interface flags */
400 PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *);
616 bpf_u_int32);
[all …]
H A Dbpf.h95 typedef unsigned long bpf_u_int32; typedef
98 typedef u_int bpf_u_int32;
249 bpf_u_int32 k;
H A Dnamedb.h62 PCAP_API bpf_u_int32 **pcap_nametoaddr(const char *)
65 PCAP_API bpf_u_int32 pcap_nametonetaddr(const char *);
/dflybsd-src/sys/net/
H A Dbpf.h55 typedef u_int32_t bpf_u_int32; typedef
136 bpf_u_int32 bh_caplen; /* length of captured portion */
137 bpf_u_int32 bh_datalen; /* original length of packet */
219 bpf_u_int32 k;
H A Dbpf_filter.c81 static u_int16_t m_xhalf (struct mbuf *m, bpf_u_int32 k, int *err);
82 static u_int32_t m_xword (struct mbuf *m, bpf_u_int32 k, int *err);
85 m_xword(struct mbuf *m, bpf_u_int32 k, int *err) in m_xword()
138 m_xhalf(struct mbuf *m, bpf_u_int32 k, int *err) in m_xhalf()
177 bpf_u_int32 k; in bpf_filter()
/dflybsd-src/contrib/wpa_supplicant/src/l2_packet/
H A Dl2_packet_freebsd.c106 bpf_u_int32 pcap_maskp, pcap_netp; in l2_packet_init_libpcap()
H A Dl2_packet_winpcap.c164 bpf_u_int32 pcap_maskp, pcap_netp; in l2_packet_init_libpcap()
H A Dl2_packet_pcap.c200 bpf_u_int32 pcap_maskp, pcap_netp; in l2_packet_init_libpcap()

12