Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if.c
| Show First 20 Lines • Show All 4,861 Lines • ▼ Show 20 Lines | |||||
| void * | void * | ||||
| if_gethandle(u_char type) | if_gethandle(u_char type) | ||||
| { | { | ||||
| return (if_alloc(type)); | return (if_alloc(type)); | ||||
| } | } | ||||
| void | void | ||||
| if_bpfmtap(if_t ifp, struct mbuf *m) | |||||
| { | |||||
| bpf_mtap_if(ifp, m); | |||||
| } | |||||
| void | |||||
| if_etherbpfmtap(if_t ifp, struct mbuf *m) | |||||
| { | |||||
| ether_bpf_mtap_if(ifp, m); | |||||
| } | |||||
| void | |||||
| if_vlancap(if_t ifp) | if_vlancap(if_t ifp) | ||||
| { | { | ||||
| VLAN_CAPABILITIES(ifp); | VLAN_CAPABILITIES(ifp); | ||||
| } | } | ||||
| int | int | ||||
| if_sethwtsomax(if_t ifp, u_int if_hw_tsomax) | if_sethwtsomax(if_t ifp, u_int if_hw_tsomax) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 325 Lines • Show Last 20 Lines | |||||