mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Include correct opt_* headers for supported address families. Dike out
the unused ATM cases. Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
8151186746
commit
8c90439d70
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111997
@ -50,6 +50,11 @@
|
|||||||
* This node also includes Berkeley packet filter support.
|
* This node also includes Berkeley packet filter support.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "opt_atalk.h"
|
||||||
|
#include "opt_inet.h"
|
||||||
|
#include "opt_inet6.h"
|
||||||
|
#include "opt_ipx.h"
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
#include <sys/errno.h>
|
#include <sys/errno.h>
|
||||||
@ -773,16 +778,6 @@ ng_iface_rcvdata(hook_p hook, item_p item)
|
|||||||
case AF_APPLETALK:
|
case AF_APPLETALK:
|
||||||
isr = NETISR_ATALK2;
|
isr = NETISR_ATALK2;
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
#ifdef NATM
|
|
||||||
case AF_NATM:
|
|
||||||
isr = NETISR_NATM;
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
#ifdef ATM_CORE
|
|
||||||
case AF_ATM:
|
|
||||||
isr = NETISR_ATM;
|
|
||||||
break;
|
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
m_freem(m);
|
m_freem(m);
|
||||||
|
Loading…
Reference in New Issue
Block a user