| /freebsd-13-stable/sys/net/ |
| HD | if_vlan_var.h | 138 #define VLAN_CAPABILITIES(_ifp) do { \ argument 139 if ((_ifp)->if_vlantrunk != NULL) \ 140 (*vlan_trunk_cap_p)(_ifp); \ 143 #define VLAN_TRUNKDEV(_ifp) \ argument 144 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_trunkdev_p)((_ifp)) : NULL) 145 #define VLAN_TAG(_ifp, _vid) \ argument 146 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_tag_p)((_ifp), (_vid)) : EINVAL) 147 #define VLAN_PCP(_ifp, _pcp) \ argument 148 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_pcp_p)((_ifp), (_pcp)) : EINVAL) 149 #define VLAN_COOKIE(_ifp) \ argument [all …]
|
| HD | if_bridgevar.h | 302 #define BRIDGE_INPUT(_ifp, _m) do { \ argument 303 KASSERT((_ifp)->if_bridge_input != NULL, \ 305 _m = (*(_ifp)->if_bridge_input)(_ifp, _m); \ 307 _ifp = _m->m_pkthdr.rcvif; \ 310 #define BRIDGE_OUTPUT(_ifp, _m, _err) do { \ argument 311 KASSERT((_ifp)->if_bridge_output != NULL, \ 313 _err = (*(_ifp)->if_bridge_output)(_ifp, _m, NULL, NULL); \
|
| HD | bpf.h | 444 #define BPF_TAP(_ifp, _pkt, _pktlen) do { \ argument 445 if (bpf_peers_present((_ifp)->if_bpf)) \ 446 bpf_tap((_ifp)->if_bpf, (_pkt), (_pktlen)); \ 448 #define BPF_MTAP(_ifp, _m) do { \ argument 449 if (bpf_peers_present((_ifp)->if_bpf)) { \ 451 bpf_mtap((_ifp)->if_bpf, (_m)); \ 454 #define BPF_MTAP2(_ifp, _data, _dlen, _m) do { \ argument 455 if (bpf_peers_present((_ifp)->if_bpf)) { \ 457 bpf_mtap2((_ifp)->if_bpf, (_data), (_dlen), (_m)); \
|
| HD | infiniband.h | 42 #define INFINIBAND_BPF_MTAP(_ifp, _m) \ argument 44 if (bpf_peers_present((_ifp)->if_bpf)) { \ 46 infiniband_bpf_mtap(_ifp, _m); \
|
| HD | ethernet.h | 398 #define ETHER_BPF_MTAP(_ifp, _m) do { \ argument 399 if (bpf_peers_present((_ifp)->if_bpf)) { \ 402 ether_vlan_mtap((_ifp)->if_bpf, (_m), NULL, 0); \ 404 bpf_mtap((_ifp)->if_bpf, (_m)); \
|
| HD | if_clone.c | 169 #define IFC_IFLIST_INSERT(_ifc, _ifp) \ argument 170 LIST_INSERT_HEAD(&_ifc->ifc_iflist, _ifp, if_clones) 171 #define IFC_IFLIST_REMOVE(_ifc, _ifp) \ argument 172 LIST_REMOVE(_ifp, if_clones)
|
| /freebsd-13-stable/contrib/ncurses/ncurses/base/ |
| HD | lib_newterm.c | 176 FILE *_ifp = ifp ? ifp : stdin; in NCURSES_SP_NAME() local 282 SP_PARM->_ifd = fileno(_ifp); in NCURSES_SP_NAME() 283 NCURSES_SP_NAME(typeahead) (NCURSES_SP_ARGx fileno(_ifp)); in NCURSES_SP_NAME()
|
| /freebsd-13-stable/sys/dev/netmap/ |
| HD | netmap_kern.h | 112 #define WNA(_ifp) (_ifp)->if_netmap argument 1319 #define netmap_ifp_to_vp(_ifp) (NA(_ifp)->na_vp) argument 1320 #define netmap_ifp_to_host_vp(_ifp) (NA(_ifp)->na_hostvp) argument 1325 #define netmap_ifp_to_vp(_ifp) NULL argument 1326 #define netmap_ifp_to_host_vp(_ifp) NULL argument 1636 #define NA(_ifp) ((struct netmap_adapter *)WNA(_ifp)) argument
|
| /freebsd-13-stable/sys/net80211/ |
| HD | ieee80211_freebsd.h | 263 #define IFNET_IS_UP_RUNNING(_ifp) \ argument 264 (((_ifp)->if_flags & IFF_UP) && \ 265 ((_ifp)->if_drv_flags & IFF_DRV_RUNNING))
|