Searched refs:ifnet_type (Results 1 – 9 of 9) sorted by relevance
1211 switch (ifnet_type(p)) { in vlan_input()1226 ifnet_type(p)); in vlan_input()1800 if (ifnet_type(ifp) != IFT_L2VLAN) { in vlan_ioctl()1915 if (ifnet_type(p) != IFT_ETHER in vlan_ioctl()1916 && ifnet_type(p) != IFT_IEEE8023ADLAG) { in vlan_ioctl()
1246 u_int32_t ifnet_type; member1255 u_int32_t ifnet_type; member
161 STUB(ifnet_type);
4008 st->ifnet_type = NSTAT_IFNET_ECN_TYPE_CELLULAR; in nstat_ifnet_report_ecn_stats()4010 st->ifnet_type = NSTAT_IFNET_ECN_TYPE_WIFI; in nstat_ifnet_report_ecn_stats()4012 st->ifnet_type = NSTAT_IFNET_ECN_TYPE_ETHERNET; in nstat_ifnet_report_ecn_stats()4172 st->ifnet_type = NSTAT_IFNET_DESC_LINK_STATUS_TYPE_CELLULAR; in nstat_ifnet_report_lim_stats()4174 st->ifnet_type = NSTAT_IFNET_DESC_LINK_STATUS_TYPE_WIFI; in nstat_ifnet_report_lim_stats()4176 st->ifnet_type = NSTAT_IFNET_DESC_LINK_STATUS_TYPE_ETHERNET; in nstat_ifnet_report_lim_stats()4618 data->u.ifnet_ecn_stats.ifnet_type); in nstat_sysinfo_send_data_internal()4800 data->u.lim_stats.ifnet_type); in nstat_sysinfo_send_data_internal()
2449 extern u_int8_t ifnet_type(ifnet_t interface)
1289 if (ifb == NULL || ifnet_type(ifp) != IFT_IEEE8023ADLAG) { in bond_clone_destroy()2962 if (ifnet_type(ifp) != IFT_IEEE8023ADLAG) { in bond_ioctl()3062 if (ifnet_type(port_ifp) != IFT_ETHER) { in bond_ioctl()
1371 ifnet_type(ifnet_t interface) in ifnet_type() function
4025 if (ifnet_type(ifp) == IFT_ETHER && dlt == DLT_EN10MB) { in bpf_attach()
3550 if (ifnet_type(peer) != IFT_ETHER) { in feth_set_drvspec()