Home
last modified time | relevance | path

Searched refs:l2_hdr (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant/
Dl2_packet_none.c30 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member
77 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
87 l2->l2_hdr = l2_hdr; in l2_packet_init()
Dl2_packet_linux.c33 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member
51 if (l2->l2_hdr) { in l2_packet_send()
97 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
109 l2->l2_hdr = l2_hdr; in l2_packet_init()
111 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init()
Dl2_packet_pcap.c44 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls member
92 if (l2->l2_hdr) { in l2_packet_send()
139 if (l2->l2_hdr) { in l2_packet_receive()
164 if (l2->l2_hdr) { in l2_packet_receive_cb()
288 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
298 l2->l2_hdr = l2_hdr; in l2_packet_init()
Dl2_packet_freebsd.c42 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member
57 if (!l2->l2_hdr) { in l2_packet_send()
90 if (l2->l2_hdr) { in l2_packet_receive()
203 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
213 l2->l2_hdr = l2_hdr; in l2_packet_init()
Dl2_packet_winpcap.c61 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member
87 if (l2->l2_hdr) { in l2_packet_send()
118 if (l2->l2_hdr) { in l2_packet_receive_cb()
208 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
223 l2->l2_hdr = l2_hdr; in l2_packet_init()
Dl2_packet_ndis.c79 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member
118 if (l2->l2_hdr) { in l2_packet_send()
288 if (l2->l2_hdr || l2->rx_written < sizeof(*ethhdr)) { in l2_packet_callback()
352 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
377 l2->l2_hdr = l2_hdr; in l2_packet_init()
Dl2_packet.h80 void *rx_callback_ctx, int l2_hdr);