Searched refs:ifv (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/net/ |
H A D | if_vlan.c | 183 #define TRUNK(ifv) ((ifv)->ifv_trunk) argument 184 #define PARENT(ifv) (TRUNK(ifv)->parent) argument 278 static int vlan_inshash(struct ifvlantrunk *trunk, struct ifvlan *ifv); 279 static int vlan_remhash(struct ifvlantrunk *trunk, struct ifvlan *ifv); 315 static int vlan_config(struct ifvlan *ifv, struct ifnet *p, uint16_t tag, 318 static void vlan_capabilities(struct ifvlan *ifv); 432 vlan_inshash(struct ifvlantrunk *trunk, struct ifvlan *ifv) in vlan_inshash() argument 441 i = HASH(ifv->ifv_vid, trunk->hmask); in vlan_inshash() 443 if (ifv->ifv_vid == ifv2->ifv_vid) in vlan_inshash() 453 i = HASH(ifv->ifv_vid, trunk->hmask); in vlan_inshash() [all …]
|
/freebsd/sys/dev/irdma/ |
H A D | fbsd_kcompat.c | 275 struct ifnet *ifv; in irdma_add_ip() local 283 ifv = VLAN_DEVAT(ifp, i); in irdma_add_ip() 285 if (!ifv) in irdma_add_ip() 287 irdma_add_ipv4_addr(iwdev, ifv); in irdma_add_ip() 288 irdma_add_ipv6_addr(iwdev, ifv); in irdma_add_ip() 296 struct ifnet *ifv = NULL; in irdma_ifaddrevent_handler() local 307 ifv = VLAN_DEVAT(rf->iwdev->netdev, i); in irdma_ifaddrevent_handler() 309 if (ifv == ifp) in irdma_ifaddrevent_handler() 312 if (ifv != ifp) in irdma_ifaddrevent_handler()
|
/freebsd/sys/sys/ |
H A D | qmath.h | 124 #define Q_SIFVAL(q, ifv) \ argument 126 (Q_TC(q, Q_ABS(ifv)) << Q_NCBITS) | \ 127 (Q_LTZ(ifv) ? 1ULL << Q_SIGNSHFT(q) : 0))
|