Searched defs:l2_hdr (Results 1 - 21 of 21) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/l2_packet/
H A Dl2_packet_none.c24 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member in struct:l2_packet_data
45 * whether l2->l2_hdr is set).
71 void *rx_callback_ctx, int l2_hdr)
81 l2->l2_hdr = l2_hdr;
67 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_linux.c27 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member in struct:l2_packet_data
45 if (l2->l2_hdr) {
95 void *rx_callback_ctx, int l2_hdr)
107 l2->l2_hdr = l2_hdr;
109 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM,
91 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_freebsd.c43 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member in struct:l2_packet_data
58 if (!l2->l2_hdr) {
91 if (l2->l2_hdr) {
231 void *rx_callback_ctx, int l2_hdr)
241 l2->l2_hdr = l2_hdr;
227 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_ndis.c73 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member in struct:l2_packet_data
112 if (l2->l2_hdr) {
288 if (l2->l2_hdr || l2->rx_written < sizeof(*ethhdr)) {
352 void *rx_callback_ctx, int l2_hdr)
377 l2->l2_hdr = l2_hdr;
348 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_pcap.c38 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls member in struct:l2_packet_data
86 if (l2->l2_hdr) {
133 if (l2->l2_hdr) {
158 if (l2->l2_hdr) {
282 void *rx_callback_ctx, int l2_hdr)
292 l2->l2_hdr = l2_hdr;
278 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_privsep.c130 void *rx_callback_ctx, int l2_hdr)
181 reg_cmd[1] = l2_hdr;
126 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_winpcap.c55 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member in struct:l2_packet_data
81 if (l2->l2_hdr) {
112 if (l2->l2_hdr) {
202 void *rx_callback_ctx, int l2_hdr)
217 l2->l2_hdr = l2_hdr;
198 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
/external/wpa_supplicant_8/src/l2_packet/
H A Dl2_packet_none.c24 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member in struct:l2_packet_data
45 * whether l2->l2_hdr is set).
71 void *rx_callback_ctx, int l2_hdr)
81 l2->l2_hdr = l2_hdr;
67 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_linux.c27 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member in struct:l2_packet_data
45 if (l2->l2_hdr) {
95 void *rx_callback_ctx, int l2_hdr)
107 l2->l2_hdr = l2_hdr;
109 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM,
91 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_freebsd.c43 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member in struct:l2_packet_data
58 if (!l2->l2_hdr) {
91 if (l2->l2_hdr) {
231 void *rx_callback_ctx, int l2_hdr)
241 l2->l2_hdr = l2_hdr;
227 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_ndis.c73 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member in struct:l2_packet_data
112 if (l2->l2_hdr) {
288 if (l2->l2_hdr || l2->rx_written < sizeof(*ethhdr)) {
352 void *rx_callback_ctx, int l2_hdr)
377 l2->l2_hdr = l2_hdr;
348 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_pcap.c38 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls member in struct:l2_packet_data
86 if (l2->l2_hdr) {
133 if (l2->l2_hdr) {
158 if (l2->l2_hdr) {
282 void *rx_callback_ctx, int l2_hdr)
292 l2->l2_hdr = l2_hdr;
278 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_privsep.c130 void *rx_callback_ctx, int l2_hdr)
181 reg_cmd[1] = l2_hdr;
126 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_winpcap.c55 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member in struct:l2_packet_data
81 if (l2->l2_hdr) {
112 if (l2->l2_hdr) {
202 void *rx_callback_ctx, int l2_hdr)
217 l2->l2_hdr = l2_hdr;
198 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/
H A Dl2_packet_none.c24 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member in struct:l2_packet_data
45 * whether l2->l2_hdr is set).
71 void *rx_callback_ctx, int l2_hdr)
81 l2->l2_hdr = l2_hdr;
67 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_linux.c27 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member in struct:l2_packet_data
45 if (l2->l2_hdr) {
95 void *rx_callback_ctx, int l2_hdr)
107 l2->l2_hdr = l2_hdr;
109 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM,
91 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_freebsd.c43 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member in struct:l2_packet_data
58 if (!l2->l2_hdr) {
91 if (l2->l2_hdr) {
231 void *rx_callback_ctx, int l2_hdr)
241 l2->l2_hdr = l2_hdr;
227 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_ndis.c73 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member in struct:l2_packet_data
112 if (l2->l2_hdr) {
288 if (l2->l2_hdr || l2->rx_written < sizeof(*ethhdr)) {
352 void *rx_callback_ctx, int l2_hdr)
377 l2->l2_hdr = l2_hdr;
348 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_pcap.c38 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls member in struct:l2_packet_data
86 if (l2->l2_hdr) {
133 if (l2->l2_hdr) {
158 if (l2->l2_hdr) {
282 void *rx_callback_ctx, int l2_hdr)
292 l2->l2_hdr = l2_hdr;
278 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_privsep.c130 void *rx_callback_ctx, int l2_hdr)
181 reg_cmd[1] = l2_hdr;
126 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
H A Dl2_packet_winpcap.c55 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member in struct:l2_packet_data
81 if (l2->l2_hdr) {
112 if (l2->l2_hdr) {
202 void *rx_callback_ctx, int l2_hdr)
217 l2->l2_hdr = l2_hdr;
198 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument

Completed in 223 milliseconds