| /f-stack/tools/compat/include/net/ |
| H A D | if_vlan_var.h | 138 (*vlan_trunk_cap_p)(_ifp); \ 141 #define VLAN_TRUNKDEV(_ifp) \ argument 142 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_trunkdev_p)((_ifp)) : NULL) 143 #define VLAN_TAG(_ifp, _vid) \ argument 144 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_tag_p)((_ifp), (_vid)) : EINVAL) 145 #define VLAN_PCP(_ifp, _pcp) \ argument 146 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_pcp_p)((_ifp), (_pcp)) : EINVAL) 147 #define VLAN_COOKIE(_ifp) \ argument 148 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_cookie_p)((_ifp)) : NULL) 152 #define VLAN_DEVAT(_ifp, _vid) \ argument [all …]
|
| H A D | if_bridgevar.h | 304 #define BRIDGE_INPUT(_ifp, _m) do { \ argument 305 KASSERT((_ifp)->if_bridge_input != NULL, \ 307 _m = (*(_ifp)->if_bridge_input)(_ifp, _m); \ 309 _ifp = _m->m_pkthdr.rcvif; \ 312 #define BRIDGE_OUTPUT(_ifp, _m, _err) do { \ argument 313 KASSERT((_ifp)->if_bridge_output != NULL, \ 315 _err = (*(_ifp)->if_bridge_output)(_ifp, _m, NULL, NULL); \
|
| H A D | bpf.h | 445 #define BPF_TAP(_ifp,_pkt,_pktlen) do { \ argument 446 if (bpf_peers_present((_ifp)->if_bpf)) \ 447 bpf_tap((_ifp)->if_bpf, (_pkt), (_pktlen)); \ 449 #define BPF_MTAP(_ifp,_m) do { \ argument 450 if (bpf_peers_present((_ifp)->if_bpf)) { \ 452 bpf_mtap((_ifp)->if_bpf, (_m)); \ 455 #define BPF_MTAP2(_ifp,_data,_dlen,_m) do { \ argument 456 if (bpf_peers_present((_ifp)->if_bpf)) { \ 458 bpf_mtap2((_ifp)->if_bpf,(_data),(_dlen),(_m)); \
|
| H A D | ethernet.h | 400 #define ETHER_BPF_MTAP(_ifp, _m) do { \ argument 401 if (bpf_peers_present((_ifp)->if_bpf)) { \ 404 ether_vlan_mtap((_ifp)->if_bpf, (_m), NULL, 0); \ 406 bpf_mtap((_ifp)->if_bpf, (_m)); \
|
| /f-stack/freebsd/net/ |
| H A D | if_vlan_var.h | 138 (*vlan_trunk_cap_p)(_ifp); \ 141 #define VLAN_TRUNKDEV(_ifp) \ argument 142 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_trunkdev_p)((_ifp)) : NULL) 143 #define VLAN_TAG(_ifp, _vid) \ argument 144 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_tag_p)((_ifp), (_vid)) : EINVAL) 145 #define VLAN_PCP(_ifp, _pcp) \ argument 146 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_pcp_p)((_ifp), (_pcp)) : EINVAL) 147 #define VLAN_COOKIE(_ifp) \ argument 148 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_cookie_p)((_ifp)) : NULL) 152 #define VLAN_DEVAT(_ifp, _vid) \ argument [all …]
|
| H A D | if_bridgevar.h | 304 #define BRIDGE_INPUT(_ifp, _m) do { \ argument 305 KASSERT((_ifp)->if_bridge_input != NULL, \ 307 _m = (*(_ifp)->if_bridge_input)(_ifp, _m); \ 309 _ifp = _m->m_pkthdr.rcvif; \ 312 #define BRIDGE_OUTPUT(_ifp, _m, _err) do { \ argument 313 KASSERT((_ifp)->if_bridge_output != NULL, \ 315 _err = (*(_ifp)->if_bridge_output)(_ifp, _m, NULL, NULL); \
|
| H A D | bpf.h | 446 #define BPF_TAP(_ifp,_pkt,_pktlen) do { \ argument 447 if (bpf_peers_present((_ifp)->if_bpf)) \ 448 bpf_tap((_ifp)->if_bpf, (_pkt), (_pktlen)); \ 450 #define BPF_MTAP(_ifp,_m) do { \ argument 451 if (bpf_peers_present((_ifp)->if_bpf)) { \ 453 bpf_mtap((_ifp)->if_bpf, (_m)); \ 456 #define BPF_MTAP2(_ifp,_data,_dlen,_m) do { \ argument 457 if (bpf_peers_present((_ifp)->if_bpf)) { \ 459 bpf_mtap2((_ifp)->if_bpf,(_data),(_dlen),(_m)); \
|
| H A D | infiniband.h | 44 #define INFINIBAND_BPF_MTAP(_ifp, _m) \ argument 46 if (bpf_peers_present((_ifp)->if_bpf)) { \ 48 infiniband_bpf_mtap(_ifp, _m); \
|
| H A D | ethernet.h | 400 #define ETHER_BPF_MTAP(_ifp, _m) do { \ argument 401 if (bpf_peers_present((_ifp)->if_bpf)) { \ 404 ether_vlan_mtap((_ifp)->if_bpf, (_m), NULL, 0); \ 406 bpf_mtap((_ifp)->if_bpf, (_m)); \
|
| H A D | if_clone.c | 160 #define IFC_IFLIST_INSERT(_ifc, _ifp) \ argument 161 LIST_INSERT_HEAD(&_ifc->ifc_iflist, _ifp, if_clones) 162 #define IFC_IFLIST_REMOVE(_ifc, _ifp) \ argument 163 LIST_REMOVE(_ifp, if_clones)
|
| /f-stack/freebsd/net80211/ |
| H A D | ieee80211_freebsd.h | 265 #define IFNET_IS_UP_RUNNING(_ifp) \ argument 266 (((_ifp)->if_flags & IFF_UP) && \ 267 ((_ifp)->if_drv_flags & IFF_DRV_RUNNING))
|