Searched refs:ifnet (Results 76 - 100 of 582) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/net/
H A Difq.h155 int if_handoff(struct ifqueue *ifq, struct mbuf *m, struct ifnet *ifp,
162 void if_start(struct ifnet *);
319 drbr_enqueue(struct ifnet *ifp, struct buf_ring *br, struct mbuf *m)
339 drbr_putback(struct ifnet *ifp, struct buf_ring *br, struct mbuf *m_new)
359 drbr_peek(struct ifnet *ifp, struct buf_ring *br)
378 drbr_flush(struct ifnet *ifp, struct buf_ring *br)
399 drbr_dequeue(struct ifnet *ifp, struct buf_ring *br)
413 drbr_advance(struct ifnet *ifp, struct buf_ring *br)
424 drbr_dequeue_cond(struct ifnet *ifp, struct buf_ring *br,
449 drbr_empty(struct ifnet *if
[all...]
H A Dif_loop.c93 int loioctl(struct ifnet *, u_long, caddr_t);
94 int looutput(struct ifnet *ifp, struct mbuf *m,
97 static void lo_clone_destroy(struct ifnet *);
99 VNET_DEFINE(struct ifnet *, loif); /* Used externally */
110 lo_clone_destroy(struct ifnet *ifp)
126 struct ifnet *ifp;
204 looutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
286 if_simloop(struct ifnet *ifp, struct mbuf *m, int af, int hlen)
374 loioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
H A Dif_epair.c102 static void epair_start_locked(struct ifnet *);
103 static int epair_media_change(struct ifnet *);
104 static void epair_media_status(struct ifnet *, struct ifmediareq *);
108 static int epair_clone_destroy(struct if_clone *, struct ifnet *);
142 struct ifnet *ifp; /* This ifp. */
143 struct ifnet *oifp; /* other ifp of pair. */
147 void (*if_qflush)(struct ifnet *);
158 struct ifnet *ifp;
243 cpuid_from_ifp(struct ifnet *ifp)
260 struct ifnet *if
[all...]
H A Dif_gif.c102 void (*ng_gif_input_p)(struct ifnet *ifp, struct mbuf **mp, int af);
103 void (*ng_gif_input_orphan_p)(struct ifnet *ifp, struct mbuf *m, int af);
104 void (*ng_gif_attach_p)(struct ifnet *ifp);
105 void (*ng_gif_detach_p)(struct ifnet *ifp);
108 static void gif_reassign(struct ifnet *, struct vnet *, char *);
111 static int gif_ioctl(struct ifnet *, u_long, caddr_t);
112 static int gif_transmit(struct ifnet *, struct mbuf *);
113 static void gif_qflush(struct ifnet *);
115 static void gif_clone_destroy(struct ifnet *);
171 gif_reassign(struct ifnet *if
[all...]
H A Dif_lagg.c84 extern void nd6_setmtu(struct ifnet *);
97 int (*func)(struct ifnet *, int);
121 static void lagg_clone_destroy(struct ifnet *);
128 static int lagg_port_create(struct lagg_softc *, struct ifnet *);
130 static struct mbuf *lagg_input_ethernet(struct ifnet *, struct mbuf *);
131 static struct mbuf *lagg_input_infiniband(struct ifnet *, struct mbuf *);
133 static void lagg_port_state(struct ifnet *, int);
134 static int lagg_port_ioctl(struct ifnet *, u_long, caddr_t);
135 static int lagg_port_output(struct ifnet *, struct mbuf *,
137 static void lagg_port_ifdetach(void *arg __unused, struct ifnet *);
[all...]
/freebsd-13-stable/sys/netgraph/
H A Dng_gif.c99 struct ifnet *ifp; /* associated interface */
106 static void ng_gif_input(struct ifnet *ifp, struct mbuf **mp, int af);
107 static void ng_gif_input_orphan(struct ifnet *ifp, struct mbuf *m, int af);
108 static void ng_gif_attach(struct ifnet *ifp);
109 static void ng_gif_detach(struct ifnet *ifp);
170 ng_gif_input(struct ifnet *ifp, struct mbuf **mp, int af)
186 ng_gif_input_orphan(struct ifnet *ifp, struct mbuf *m, int af)
225 ng_gif_attach(struct ifnet *ifp)
262 ng_gif_detach(struct ifnet *ifp)
272 * We can't assume the ifnet i
[all...]
H A Dng_eiface.c83 struct ifnet *ifp; /* per-interface network data */
94 static void ng_eiface_start(struct ifnet *ifp);
95 static int ng_eiface_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
97 static void ng_eiface_print_ioctl(struct ifnet *ifp, int cmd, caddr_t data);
135 ng_eiface_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
205 struct ifnet *ifp = sc->ifp;
219 struct ifnet *ifp = arg1;
282 * Take comfort from the fact that the ifnet struct is part of our
290 ng_eiface_start(struct ifnet *ifp)
310 ng_eiface_print_ioctl(struct ifnet *if
[all...]
H A Dng_iface.c119 struct ifnet *ifp; /* Our interface */
133 static void ng_iface_start(struct ifnet *ifp);
134 static int ng_iface_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
135 static int ng_iface_output(struct ifnet *ifp, struct mbuf *m0,
137 static void ng_iface_bpftap(struct ifnet *ifp,
139 static int ng_iface_send(struct ifnet *ifp, struct mbuf *m,
142 static void ng_iface_print_ioctl(struct ifnet *ifp, int cmd, caddr_t data);
281 ng_iface_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
349 ng_iface_output(struct ifnet *ifp, struct mbuf *m,
397 ng_iface_start(struct ifnet *if
[all...]
/freebsd-13-stable/sys/security/mac/
H A Dmac_net.c77 * XXXRW: struct ifnet locking is incomplete in the network code, so we use
78 * our own global mutex for struct ifnet. Non-ideal, but should help in the
81 * This lock is acquired only if a loaded policy is using ifnet labeling.
142 mac_ifnet_init(struct ifnet *ifp)
221 mac_ifnet_destroy(struct ifnet *ifp)
287 MAC_POLICY_EXTERNALIZE(ifnet, label, elements, outbuf, outbuflen);
297 MAC_POLICY_INTERNALIZE(ifnet, label, string);
303 mac_ifnet_create(struct ifnet *ifp)
340 mac_ifnet_create_mbuf(struct ifnet *ifp, struct mbuf *m)
357 "struct ifnet *");
[all...]
/freebsd-13-stable/sys/netinet6/
H A Din6_var.h670 * For every entry on an ifnet's if_multiaddrs list which represents
685 * on a detaching ifnet. It could be demoted to a SLIST_ENTRY, but
691 struct ifnet *in6m_ifp; /* back pointer to ifnet */
792 in6m_lookup_locked(struct ifnet *ifp, const struct in6_addr *mcaddr)
813 in6m_lookup(struct ifnet *ifp, const struct in6_addr *mcaddr)
863 int im6o_mc_filter(const struct ip6_moptions *, const struct ifnet *,
865 int in6_joingroup(struct ifnet *, const struct in6_addr *,
883 int in6_control(struct socket *, u_long, caddr_t, struct ifnet *,
885 int in6_update_ifa(struct ifnet *, struc
[all...]
H A Din6_fib.h42 uint32_t scopeid, uint32_t flags, const struct ifnet *src_if);
/freebsd-13-stable/sys/net/altq/
H A Daltq_var.h180 struct ifnet; struct mbuf;
202 int altq_add(struct ifnet *, struct pf_altq *);
209 int cbq_add_altq(struct ifnet *, struct pf_altq *);
216 int codel_add_altq(struct ifnet *, struct pf_altq *);
221 int priq_add_altq(struct ifnet *, struct pf_altq *);
228 int hfsc_add_altq(struct ifnet *, struct pf_altq *);
235 int fairq_add_altq(struct ifnet *, struct pf_altq *);
/freebsd-13-stable/sys/net80211/
H A Dieee80211_freebsd.c84 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
92 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
100 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
108 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
168 wlan_clone_destroy(struct ifnet *ifp)
266 struct ifnet *ifp = vap->iv_ifp;
737 struct ifnet *ifp = vap->iv_ifp;
768 notify_macaddr(struct ifnet *ifp, int op, const uint8_t mac[IEEE80211_ADDR_LEN])
783 struct ifnet *ifp = vap->iv_ifp;
804 struct ifnet *if
[all...]
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dnetdevice.h58 #define net_device ifnet
60 static inline struct ifnet *
64 struct ifnet *retval;
/freebsd-13-stable/contrib/ipfilter/
H A Dip_fil.c21 static struct ifnet **ifneta = NULL;
26 static void ipf_setifpaddr(struct ifnet *, char *);
28 static int no_output(struct ifnet *, struct mbuf *,
30 static int write_output(struct ifnet *, struct mbuf *,
114 struct ifnet *ifp;
125 struct ifnet *ifp;
156 struct ifnet *ifp;
209 struct ifnet *
214 struct ifnet *ifp, **ifpp, **old_ifneta;
257 ifneta = (struct ifnet **)mallo
[all...]
/freebsd-13-stable/sys/dev/usb/net/
H A Dusb_ethernet.c84 static void ue_start(struct ifnet *);
85 static int ue_ifmedia_upd(struct ifnet *);
135 struct ifnet *
210 struct ifnet *ifp;
228 device_printf(ue->ue_dev, "could not allocate ifnet\n");
305 struct ifnet *ifp;
310 /* read "ifnet" pointer after taskqueue drain */
383 struct ifnet *ifp = ue->ue_ifp;
411 uether_start(struct ifnet *ifp)
418 ue_start(struct ifnet *if
[all...]
/freebsd-13-stable/sys/netgraph/bluetooth/include/
H A Dng_btsocket_hci_raw.h79 struct ifnet *, struct thread *);
/freebsd-13-stable/sys/netinet/
H A Din_fib.h54 uint32_t flags, const struct ifnet *src_if);
/freebsd-13-stable/sys/mips/atheros/
H A Dar71xx_macaddr.c96 ar71xx_mac_addr_random_init(struct ifnet *ifp, struct ether_addr *dst)
/freebsd-13-stable/sys/dev/smc/
H A Dif_smcvar.h34 struct ifnet *smc_ifp;
/freebsd-13-stable/sys/dev/le/
H A Dlance.c99 static void lance_start(struct ifnet *);
103 static int lance_mediachange(struct ifnet *);
104 static void lance_mediastatus(struct ifnet *, struct ifmediareq *);
105 static int lance_ioctl(struct ifnet *, u_long, caddr_t);
110 struct ifnet *ifp;
122 /* Initialize ifnet structure. */
196 struct ifnet *ifp = sc->sc_ifp;
210 struct ifnet *ifp = sc->sc_ifp;
240 lance_start(struct ifnet *ifp)
252 struct ifnet *if
[all...]
/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c51 struct ifnet *dev = to_net_dev(d);
58 int ipoib_vlan_add(struct ifnet *pdev, unsigned short pkey)
165 int ipoib_vlan_delete(struct ifnet *pdev, unsigned short pkey)
168 struct ifnet *dev = NULL;
/freebsd-13-stable/sys/mips/cavium/
H A Dif_octm.c70 struct ifnet *sc_ifp;
86 static int octm_transmit(struct ifnet *, struct mbuf *);
88 static int octm_medchange(struct ifnet *);
89 static void octm_medstat(struct ifnet *, struct ifmediareq *);
91 static int octm_ioctl(struct ifnet *, u_long, caddr_t);
152 struct ifnet *ifp;
218 device_printf(dev, "cannot allocate ifnet.\n");
288 struct ifnet *ifp;
333 octm_transmit(struct ifnet *ifp, struct mbuf *m)
373 octm_medchange(struct ifnet *if
[all...]
/freebsd-13-stable/sys/dev/netmap/
H A Dnetmap_mem2.h162 struct netmap_mem_d* netmap_mem_pt_guest_new(struct ifnet *,
167 int netmap_mem_pt_guest_ifp_del(struct netmap_mem_d *, struct ifnet *);
/freebsd-13-stable/sys/mips/nlm/dev/net/
H A Dxlpge.h50 struct ifnet *xlpge_if;
93 struct ifnet *xlpge_if; /* should be first member */

Completed in 233 milliseconds

1234567891011>>