Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/if_vlan.c
Show First 20 Lines • Show All 1,378 Lines • ▼ Show 20 Lines | if (vlan_mtag_pcp) { | ||||
*(uint8_t *)(mtag + 1) = EVL_PRIOFTAG(tag); | *(uint8_t *)(mtag + 1) = EVL_PRIOFTAG(tag); | ||||
} | } | ||||
m->m_pkthdr.rcvif = ifv->ifv_ifp; | m->m_pkthdr.rcvif = ifv->ifv_ifp; | ||||
if_inc_counter(ifv->ifv_ifp, IFCOUNTER_IPACKETS, 1); | if_inc_counter(ifv->ifv_ifp, IFCOUNTER_IPACKETS, 1); | ||||
VLAN_RUNLOCK(); | VLAN_RUNLOCK(); | ||||
/* Pass it back through the parent's input routine. */ | /* Pass it back through the parent's input routine. */ | ||||
(*ifp->if_input)(ifv->ifv_ifp, m); | (*ifv->ifv_ifp->if_input)(ifv->ifv_ifp, m); | ||||
} | } | ||||
static void | static void | ||||
vlan_lladdr_fn(void *arg, int pending __unused) | vlan_lladdr_fn(void *arg, int pending __unused) | ||||
{ | { | ||||
struct ifvlan *ifv; | struct ifvlan *ifv; | ||||
struct ifnet *ifp; | struct ifnet *ifp; | ||||
▲ Show 20 Lines • Show All 664 Lines • Show Last 20 Lines |