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_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_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_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()
256 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
259 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()
272 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
284 l2->l2_hdr = l2_hdr; in l2_packet_init()
289 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init()
340 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
362 rx_callback_ctx, l2_hdr); in l2_packet_init_bridge()
380 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()
352 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument
377 l2->l2_hdr = l2_hdr; in l2_packet_init()
458 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
461 rx_callback_ctx, l2_hdr); in l2_packet_init_bridge()
Dl2_packet.h69 void *rx_callback_ctx, int l2_hdr);
82 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()
239 void *rx_callback_ctx, int l2_hdr) in l2_packet_init_bridge() argument
242 rx_callback_ctx, l2_hdr); in l2_packet_init_bridge()