Home
last modified time | relevance | path

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

/external/libpcap/bpf/net/
Dbpf_filter.c221 bpf_filter_with_aux_data(pc, p, wirelen, buflen, aux_data) in bpf_filter_with_aux_data() argument
226 register const struct bpf_aux_data *aux_data;
307 if (!aux_data) \
334 if (aux_data)
335 A = aux_data->vlan_tag;
339 if (aux_data)
340 A = aux_data->vlan_tag_present;
/external/libpcap/
Dpcap-linux.c1569 struct bpf_aux_data aux_data; local
1755 aux_data.vlan_tag = htons(aux->tp_vlan_tci) & 0x0fff;
1756 aux_data.vlan_tag_present = (aux->tp_status & TP_STATUS_VLAN_VALID);
1803 packet_len, caplen, &aux_data) == 0) {
4537 struct bpf_aux_data aux_data; local
4539 aux_data.vlan_tag = tp_vlan_tci & 0x0fff;
4540 aux_data.vlan_tag_present = tp_vlan_tci_valid;
4543 tp_len, tp_snaplen, &aux_data) == 0)