Home
last modified time | relevance | path

Searched refs:wirelen (Results 1 – 2 of 2) sorted by relevance

/external/libpcap/
Dbpf_filter.c90 u_int wirelen, u_int buflen, const struct bpf_aux_data *aux_data) in pcap_filter_with_aux_data() argument
94 u_int wirelen, u_int buflen, const struct bpf_aux_data *aux_data _U_) in pcap_filter_with_aux_data()
172 A = wirelen; in pcap_filter_with_aux_data()
176 X = wirelen; in pcap_filter_with_aux_data()
391 pcap_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, in pcap_filter() argument
394 return pcap_filter_with_aux_data(pc, p, wirelen, buflen, NULL); in pcap_filter()
536 bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, in bpf_filter() argument
539 return pcap_filter(pc, p, wirelen, buflen); in bpf_filter()
/external/scapy/scapy/
Dutils.py827 sec,usec,caplen,wirelen = struct.unpack(self.endian+"IIII", hdr)
829 return s,(sec,usec,wirelen) # caplen = len(s)
884 s,(sec,usec,wirelen) = rp
992 intid, tshigh, tslow, caplen, wirelen = struct.unpack(
998 tshigh, tslow, wirelen))
1006 wirelen, = struct.unpack(self.endian + "I", block[:4])
1007 caplen = min(wirelen, self.interfaces[intid][1])
1010 None, None, wirelen))
1014 intid, drops, tshigh, tslow, caplen, wirelen = struct.unpack(
1020 tshigh, tslow, wirelen))
[all …]