Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
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.c45 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member
60 if (!l2->l2_hdr) { in l2_packet_send()
93 if (l2->l2_hdr) { in l2_packet_receive()
206 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
216 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.h69 void *rx_callback_ctx, int l2_hdr);
Dl2_packet_privsep.c136 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
187 reg_cmd[1] = l2_hdr; in l2_packet_init()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_none.c24 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member
71 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
81 l2->l2_hdr = l2_hdr; in l2_packet_init()
Dl2_packet_linux.c27 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member
45 if (l2->l2_hdr) { in l2_packet_send()
95 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
107 l2->l2_hdr = l2_hdr; in l2_packet_init()
109 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init()
Dl2_packet_pcap.c38 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls member
86 if (l2->l2_hdr) { in l2_packet_send()
133 if (l2->l2_hdr) { in l2_packet_receive()
158 if (l2->l2_hdr) { in l2_packet_receive_cb()
282 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
292 l2->l2_hdr = l2_hdr; in l2_packet_init()
Dl2_packet_freebsd.c43 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member
58 if (!l2->l2_hdr) { in l2_packet_send()
91 if (l2->l2_hdr) { in l2_packet_receive()
231 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
241 l2->l2_hdr = l2_hdr; in l2_packet_init()
Dl2_packet_winpcap.c55 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member
81 if (l2->l2_hdr) { in l2_packet_send()
112 if (l2->l2_hdr) { in l2_packet_receive_cb()
202 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
217 l2->l2_hdr = l2_hdr; in l2_packet_init()
Dl2_packet_ndis.c73 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member
112 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.h63 void *rx_callback_ctx, int l2_hdr);
Dl2_packet_privsep.c130 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
181 reg_cmd[1] = l2_hdr; in l2_packet_init()