ieee80211.c (248069) | ieee80211.c (249925) |
---|---|
1/*- 2 * Copyright (c) 2001 Atsushi Onoe 3 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 11 unchanged lines hidden (view full) --- 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001 Atsushi Onoe 3 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 11 unchanged lines hidden (view full) --- 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/net80211/ieee80211.c 248069 2013-03-08 20:23:55Z adrian $"); | 28__FBSDID("$FreeBSD: head/sys/net80211/ieee80211.c 249925 2013-04-26 12:50:32Z glebius $"); |
29 30/* 31 * IEEE 802.11 generic handler 32 */ 33#include "opt_wlan.h" 34 35#include <sys/param.h> 36#include <sys/systm.h> --- 201 unchanged lines hidden (view full) --- 238{ 239 m_freem(m); 240 ifp->if_oerrors++; 241 return EACCES; /* XXX EIO/EPERM? */ 242} 243 244static int 245null_output(struct ifnet *ifp, struct mbuf *m, | 29 30/* 31 * IEEE 802.11 generic handler 32 */ 33#include "opt_wlan.h" 34 35#include <sys/param.h> 36#include <sys/systm.h> --- 201 unchanged lines hidden (view full) --- 238{ 239 m_freem(m); 240 ifp->if_oerrors++; 241 return EACCES; /* XXX EIO/EPERM? */ 242} 243 244static int 245null_output(struct ifnet *ifp, struct mbuf *m, |
246 struct sockaddr *dst, struct route *ro) | 246 const struct sockaddr *dst, struct route *ro) |
247{ 248 if_printf(ifp, "discard raw packet\n"); 249 return null_transmit(ifp, m); 250} 251 252static void 253null_input(struct ifnet *ifp, struct mbuf *m) 254{ --- 1497 unchanged lines hidden --- | 247{ 248 if_printf(ifp, "discard raw packet\n"); 249 return null_transmit(ifp, m); 250} 251 252static void 253null_input(struct ifnet *ifp, struct mbuf *m) 254{ --- 1497 unchanged lines hidden --- |