/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 2003-2004, Jouni Malinen <jkmaline@cc.hut.fi>
* Sun elects to license this software under the BSD license.
* See README for more details.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <libdlpi.h>
#include <sys/ethernet.h>
#include "wpa_impl.h"
#include "eloop.h"
#include "l2_packet.h"
static int
{
int retval;
if (retval != DLPI_SUCCESS) {
return (-1);
}
if (retval != DLPI_SUCCESS) {
" mode (SAP) on %s: %s",
return (-1);
}
if (retval != DLPI_SUCCESS) {
return (-1);
}
return (-1);
}
return (0);
}
/*
* layer2 packet handling.
*/
int
{
return (0);
}
int
{
int retval;
if (retval != DLPI_SUCCESS) {
return (-1);
}
return (0);
}
/* ARGSUSED */
static void
{
int retval;
if (retval != DLPI_SUCCESS) {
return;
}
return;
}
/* ARGSUSED */
struct l2_packet_data *
void (*rx_callback)(void *, unsigned char *, unsigned char *, size_t),
void *rx_callback_ctx)
{
int retval;
return (NULL);
if (retval != DLPI_SUCCESS) {
return (NULL);
}
/* NOTE: link_init() sets l2->own_addr */
return (NULL);
}
NULL);
return (l2);
}
void
{
return;
}