1/* 2 * WPA Supplicant - Layer2 packet handling with privilege separation 3 * Copyright (c) 2007, Jouni Malinen <j@w1.fi> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * --- 4 unchanged lines hidden (view full) --- 13 */ 14 15#include "includes.h" 16#include <sys/un.h> 17 18#include "common.h" 19#include "eloop.h" 20#include "l2_packet.h" |
21#include "common/privsep_commands.h" |
22 23 24struct l2_packet_data { 25 int fd; /* UNIX domain socket for privsep access */ 26 void (*rx_callback)(void *ctx, const u8 *src_addr, 27 const u8 *buf, size_t len); 28 void *rx_callback_ctx; 29 u8 own_addr[ETH_ALEN]; --- 238 unchanged lines hidden --- |