Home
last modified time | relevance | path

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

/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()
99 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
102 rx_callback_ctx, l2_hdr); in l2_packet_init_bridge()
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()
264 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
267 rx_callback_ctx, l2_hdr); in l2_packet_init_bridge()
Dl2_packet_pcap.c38 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls member
87 if (l2->l2_hdr) { in l2_packet_send()
134 if (l2->l2_hdr) { in l2_packet_receive()
159 if (l2->l2_hdr) { in l2_packet_receive_cb()
283 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
293 l2->l2_hdr = l2_hdr; in l2_packet_init()
320 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
323 rx_callback_ctx, l2_hdr); in l2_packet_init_bridge()
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()
259 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
262 rx_callback_ctx, l2_hdr); in l2_packet_init_bridge()
Dl2_packet_linux.c30 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member
124 if (l2->l2_hdr) { in l2_packet_send()
275 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
287 l2->l2_hdr = l2_hdr; in l2_packet_init()
292 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init()
345 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
367 rx_callback_ctx, l2_hdr); in l2_packet_init_bridge()
385 l2->fd_br_rx = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init_bridge()
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()
353 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
378 l2->l2_hdr = l2_hdr; in l2_packet_init()
459 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
462 rx_callback_ctx, l2_hdr); in l2_packet_init_bridge()
Dl2_packet.h73 void *rx_callback_ctx, int l2_hdr);
86 void *rx_callback_ctx, int l2_hdr);
Dl2_packet_privsep.c132 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
184 reg_cmd[1] = l2_hdr; in l2_packet_init()
240 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
243 rx_callback_ctx, l2_hdr); in l2_packet_init_bridge()