Lines Matching refs:ifnet
100 struct ifnet *parent; /* parent interface of this trunk */
182 struct ifnet *ifv_ifp;
206 int (*func)(struct ifnet *, int);
287 static void vlan_input(struct ifnet *ifp, struct mbuf *m);
288 static int vlan_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr);
290 static int vlan_snd_tag_alloc(struct ifnet *,
298 static void vlan_ratelimit_query(struct ifnet *,
301 static void vlan_qflush(struct ifnet *ifp);
302 static int vlan_setflag(struct ifnet *ifp, int flag, int status,
303 int (*func)(struct ifnet *, int));
304 static int vlan_setflags(struct ifnet *ifp, int status);
305 static int vlan_setmulti(struct ifnet *ifp);
306 static int vlan_transmit(struct ifnet *ifp, struct mbuf *m);
308 static void vlan_altq_start(struct ifnet *ifp);
309 static int vlan_altq_transmit(struct ifnet *ifp, struct mbuf *m);
311 static int vlan_output(struct ifnet *ifp, struct mbuf *m,
313 static void vlan_unconfig(struct ifnet *ifp);
314 static void vlan_unconfig_locked(struct ifnet *ifp, int departing);
315 static int vlan_config(struct ifvlan *ifv, struct ifnet *p, uint16_t tag,
317 static void vlan_link_state(struct ifnet *ifp);
319 static void vlan_trunk_capabilities(struct ifnet *ifp);
321 static struct ifnet *vlan_clone_match_ethervid(const char *, int *);
324 struct ifc_data *, struct ifnet **);
325 static int vlan_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
329 static int vlan_clone_modify_nl(struct ifnet *ifp, struct ifc_data_nl *ifd);
330 static void vlan_clone_dump_nl(struct ifnet *ifp, struct nl_writer *nw);
332 static void vlan_ifdetach(void *arg, struct ifnet *ifp);
333 static void vlan_iflladdr(void *arg, struct ifnet *ifp);
334 static void vlan_ifevent(void *arg, struct ifnet *ifp, int event);
624 vlan_setmulti(struct ifnet *ifp) in vlan_setmulti()
626 struct ifnet *ifp_p; in vlan_setmulti()
680 vlan_ifevent(void *arg __unused, struct ifnet *ifp, int event) in vlan_ifevent()
710 vlan_iflladdr(void *arg __unused, struct ifnet *ifp) in vlan_iflladdr()
714 struct ifnet *ifv_ifp; in vlan_iflladdr()
759 vlan_ifdetach(void *arg __unused, struct ifnet *ifp) in vlan_ifdetach()
791 static struct ifnet *
792 vlan_trunkdev(struct ifnet *ifp) in vlan_trunkdev()
816 vlan_tag(struct ifnet *ifp, uint16_t *vidp) in vlan_tag()
828 vlan_pcp(struct ifnet *ifp, uint16_t *pcpp) in vlan_pcp()
844 vlan_cookie(struct ifnet *ifp) in vlan_cookie()
859 vlan_setcookie(struct ifnet *ifp, void *cookie) in vlan_setcookie()
873 static struct ifnet *
874 vlan_devat(struct ifnet *ifp, uint16_t vid) in vlan_devat()
898 extern void (*vlan_input_p)(struct ifnet *, struct mbuf *);
901 extern void (*vlan_link_state_p)(struct ifnet *);
1011 static struct ifnet *
1016 struct ifnet *ifp; in vlan_clone_match_ethervid()
1046 struct ifnet *ifp; in vlan_clone_match()
1067 struct ifc_data *ifd, struct ifnet **ifpp) in vlan_clone_create()
1077 struct ifnet *ifp; in vlan_clone_create()
1078 struct ifnet *p = NULL; in vlan_clone_create()
1119 struct ifnet *p_tmp = vlan_clone_match_ethervid(name, &vid); in vlan_clone_create()
1253 struct ifnet *ifp_parent; in vlan_clone_create_nl()
1308 vlan_clone_modify_nl(struct ifnet *ifp, struct ifc_data_nl *ifd) in vlan_clone_modify_nl()
1324 struct ifnet *ifp_parent = ifnet_byindex_ref(lattrs->ifla_link); in vlan_clone_modify_nl()
1351 vlan_clone_dump_nl(struct ifnet *ifp, struct nl_writer *nw) in vlan_clone_dump_nl()
1382 vlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in vlan_clone_destroy()
1422 vlan_transmit(struct ifnet *ifp, struct mbuf *m) in vlan_transmit()
1425 struct ifnet *p; in vlan_transmit()
1490 vlan_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, in vlan_output()
1494 struct ifnet *p; in vlan_output()
1550 vlan_qflush(struct ifnet *ifp __unused) in vlan_qflush()
1555 vlan_input(struct ifnet *ifp, struct mbuf *m) in vlan_input()
1657 struct ifnet *ifp; in vlan_lladdr_fn()
1671 vlan_config(struct ifvlan *ifv, struct ifnet *p, uint16_t vid, in vlan_config()
1676 struct ifnet *ifp; in vlan_config()
1849 vlan_unconfig(struct ifnet *ifp) in vlan_unconfig()
1858 vlan_unconfig_locked(struct ifnet *ifp, int departing) in vlan_unconfig_locked()
1863 struct ifnet *parent; in vlan_unconfig_locked()
1934 vlan_setflag(struct ifnet *ifp, int flag, int status, in vlan_setflag()
1935 int (*func)(struct ifnet *, int)) in vlan_setflag() argument
1971 vlan_setflags(struct ifnet *ifp, int status) in vlan_setflags()
1986 vlan_link_state(struct ifnet *ifp) in vlan_link_state()
2088 struct ifnet *p; in vlan_capabilities()
2089 struct ifnet *ifp; in vlan_capabilities()
2221 vlan_trunk_capabilities(struct ifnet *ifp) in vlan_trunk_capabilities()
2241 vlan_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) in vlan_ioctl()
2243 struct ifnet *p; in vlan_ioctl()
2461 vlan_snd_tag_alloc(struct ifnet *ifp, in vlan_snd_tag_alloc()
2469 struct ifnet *parent; in vlan_snd_tag_alloc()
2584 vlan_ratelimit_query(struct ifnet *ifp __unused, struct if_ratelimit_query_results *q) in vlan_ratelimit_query()