/freebsd-10.0-release/sys/dev/cxgbe/ |
H A D | t4_tracer.c | 57 * create or destroy the tracing ifnet for an adapter at any time. It is 59 * in t4_detach but the tracing ifnet may live till mod_unload when removal of 61 * filters are active, this ifnet is also receiving data. There are potential 62 * bad races between ifnet create, ifnet destroy, ifnet rx, ifnet ioctl, 67 * b) The cloner looks for an adapter that matches the name of the ifnet it's 70 * c) The cloned ifnet and the adapter are coupled to each other via 87 /* tracer ifnet routine [all...] |
/freebsd-10.0-release/sys/netinet6/ |
H A D | in6_var.h | 625 * For every entry on an ifnet's if_multiaddrs list which represents 640 * on a detaching ifnet. It could be demoted to a SLIST_ENTRY, but 647 struct ifnet *in6m_ifp; /* back pointer to ifnet */ 725 in6m_lookup_locked(struct ifnet *ifp, const struct in6_addr *mcaddr) 751 in6m_lookup(struct ifnet *ifp, const struct in6_addr *mcaddr) 777 int im6o_mc_filter(const struct ip6_moptions *, const struct ifnet *, 779 int in6_mc_join(struct ifnet *, const struct in6_addr *, 781 int in6_mc_join_locked(struct ifnet *, const struct in6_addr *, 796 in6_joingroup(struct ifnet *, struc [all...] |
/freebsd-10.0-release/usr.bin/netstat/ |
H A D | mroute6.c | 132 struct ifnet ifnet; local 139 kread((u_long)mifp->m6_ifp, (char *)&ifnet, sizeof(ifnet)); 152 "reg0" : if_indextoname(ifnet.if_index, ifname));
|
/freebsd-10.0-release/sys/dev/netmap/ |
H A D | netmap_kern.h | 203 int (*if_transmit)(struct ifnet *, struct mbuf *); 205 /* references to the ifnet and device routines, used by 208 struct ifnet *ifp; /* adapter is ifp->if_softc */ 212 int (*nm_register)(struct ifnet *, int onoff); 213 void (*nm_lock)(struct ifnet *, int what, u_int ringid); 214 int (*nm_txsync)(struct ifnet *, u_int ring, int lock); 215 int (*nm_rxsync)(struct ifnet *, u_int ring, int lock); 217 int (*nm_config)(struct ifnet *, u_int *txr, u_int *txd, 298 void netmap_detach(struct ifnet *); 299 int netmap_start(struct ifnet *, struc [all...] |
/freebsd-10.0-release/sys/netgraph/ |
H A D | ng_gif.c | 97 struct ifnet *ifp; /* associated interface */ 104 static void ng_gif_input(struct ifnet *ifp, struct mbuf **mp, int af); 105 static void ng_gif_input_orphan(struct ifnet *ifp, struct mbuf *m, int af); 106 static void ng_gif_attach(struct ifnet *ifp); 107 static void ng_gif_detach(struct ifnet *ifp); 168 ng_gif_input(struct ifnet *ifp, struct mbuf **mp, int af) 184 ng_gif_input_orphan(struct ifnet *ifp, struct mbuf *m, int af) 223 ng_gif_attach(struct ifnet *ifp) 260 ng_gif_detach(struct ifnet *ifp) 270 * We can't assume the ifnet i [all...] |
H A D | ng_iface.c | 115 struct ifnet *ifp; /* Our interface */ 123 static void ng_iface_start(struct ifnet *ifp); 124 static int ng_iface_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data); 125 static int ng_iface_output(struct ifnet *ifp, struct mbuf *m0, 127 static void ng_iface_bpftap(struct ifnet *ifp, 129 static int ng_iface_send(struct ifnet *ifp, struct mbuf *m, 132 static void ng_iface_print_ioctl(struct ifnet *ifp, int cmd, caddr_t data); 286 ng_iface_ioctl(struct ifnet *ifp, u_long command, caddr_t data) 355 ng_iface_output(struct ifnet *ifp, struct mbuf *m, 372 if (*(struct ifnet **)(mta [all...] |
H A D | ng_eiface.c | 79 struct ifnet *ifp; /* per-interface network data */ 90 static void ng_eiface_start(struct ifnet *ifp); 91 static int ng_eiface_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data); 93 static void ng_eiface_print_ioctl(struct ifnet *ifp, int cmd, caddr_t data); 131 ng_eiface_ioctl(struct ifnet *ifp, u_long command, caddr_t data) 202 struct ifnet *ifp = sc->ifp; 216 struct ifnet *ifp = arg1; 276 * Take comfort from the fact that the ifnet struct is part of our 284 ng_eiface_start(struct ifnet *ifp) 304 ng_eiface_print_ioctl(struct ifnet *if [all...] |
/freebsd-10.0-release/sys/security/mac/ |
H A D | mac_net.c | 78 * XXXRW: struct ifnet locking is incomplete in the network code, so we use 79 * our own global mutex for struct ifnet. Non-ideal, but should help in the 138 mac_ifnet_init(struct ifnet *ifp) 217 mac_ifnet_destroy(struct ifnet *ifp) 283 MAC_POLICY_EXTERNALIZE(ifnet, label, elements, outbuf, outbuflen); 293 MAC_POLICY_INTERNALIZE(ifnet, label, string); 299 mac_ifnet_create(struct ifnet *ifp) 335 mac_ifnet_create_mbuf(struct ifnet *ifp, struct mbuf *m) 351 "struct ifnet *"); 354 mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *if [all...] |
/freebsd-10.0-release/sys/net/ |
H A D | if_loop.c | 101 int loioctl(struct ifnet *, u_long, caddr_t); 103 int looutput(struct ifnet *ifp, struct mbuf *m, 106 static void lo_clone_destroy(struct ifnet *); 108 VNET_DEFINE(struct ifnet *, loif); /* Used externally */ 119 lo_clone_destroy(struct ifnet *ifp) 135 struct ifnet *ifp; 213 looutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, 298 if_simloop(struct ifnet *ifp, struct mbuf *m, int af, int hlen) 405 loioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
|
H A D | if_lagg.c | 77 int (*func)(struct ifnet *, int); 89 static void lagg_clone_destroy(struct ifnet *); 97 static int lagg_port_create(struct lagg_softc *, struct ifnet *); 99 static struct mbuf *lagg_input(struct ifnet *, struct mbuf *); 101 static void lagg_port_state(struct ifnet *, int); 102 static int lagg_port_ioctl(struct ifnet *, u_long, caddr_t); 103 static int lagg_port_output(struct ifnet *, struct mbuf *, 105 static void lagg_port_ifdetach(void *arg __unused, struct ifnet *); 112 static int lagg_ioctl(struct ifnet *, u_long, caddr_t); 116 int (*func)(struct ifnet *, in [all...] |
H A D | pfil.h | 43 struct ifnet; 46 typedef int (*pfil_func_t)(void *, struct mbuf **, struct ifnet *, int, 68 #define PFIL_TYPE_IFNET 2 /* key is ifnet pointer */ 104 int pfil_run_hooks(struct pfil_head *, struct mbuf **, struct ifnet *,
|
H A D | if_epair.c | 93 static void epair_start_locked(struct ifnet *); 94 static int epair_media_change(struct ifnet *); 95 static void epair_media_status(struct ifnet *, struct ifmediareq *); 99 static int epair_clone_destroy(struct if_clone *, struct ifnet *); 131 struct ifnet *ifp; /* This ifp. */ 132 struct ifnet *oifp; /* other ifp of pair. */ 136 void (*if_qflush)(struct ifnet *); 147 struct ifnet *ifp; 231 cpuid_from_ifp(struct ifnet *ifp) 248 struct ifnet *if [all...] |
H A D | if_ethersubr.c | 85 int (*ef_inputp)(struct ifnet*, struct ether_header *eh, struct mbuf *m); 86 int (*ef_outputp)(struct ifnet *ifp, struct mbuf **mp, 111 void (*ng_ether_input_p)(struct ifnet *ifp, struct mbuf **mp); 112 void (*ng_ether_input_orphan_p)(struct ifnet *ifp, struct mbuf *m); 113 int (*ng_ether_output_p)(struct ifnet *ifp, struct mbuf **mp); 114 void (*ng_ether_attach_p)(struct ifnet *ifp); 115 void (*ng_ether_detach_p)(struct ifnet *ifp); 117 void (*vlan_input_p)(struct ifnet *, struct mbuf *); 120 struct mbuf *(*bridge_input_p)(struct ifnet *, struct mbuf *); 121 int (*bridge_output_p)(struct ifnet *, struc [all...] |
H A D | if_llatbl.h | 36 struct ifnet; 151 struct ifnet *llt_ifp; 180 struct lltable *lltable_init(struct ifnet *, int); 190 struct llentry *llentry_alloc(struct ifnet *, struct lltable *,
|
/freebsd-10.0-release/sys/netinet/ |
H A D | igmp_var.h | 205 igmp_domifattach(struct ifnet *); 206 void igmp_domifdetach(struct ifnet *); 207 void igmp_ifdetach(struct ifnet *);
|
/freebsd-10.0-release/sys/dev/usb/net/ |
H A D | usb_ethernet.c | 81 static void ue_start(struct ifnet *); 82 static int ue_ifmedia_upd(struct ifnet *); 132 struct ifnet * 196 struct ifnet *ifp; 212 device_printf(ue->ue_dev, "could not allocate ifnet\n"); 281 struct ifnet *ifp; 286 /* read "ifnet" pointer after taskqueue drain */ 354 struct ifnet *ifp = ue->ue_ifp; 382 uether_start(struct ifnet *ifp) 389 ue_start(struct ifnet *if [all...] |
/freebsd-10.0-release/sys/dev/cs/ |
H A D | if_csvar.h | 39 struct ifnet *ifp;
|
/freebsd-10.0-release/sys/dev/le/ |
H A D | lance.c | 102 static void lance_start(struct ifnet *); 106 static int lance_mediachange(struct ifnet *); 107 static void lance_mediastatus(struct ifnet *, struct ifmediareq *); 108 static int lance_ioctl(struct ifnet *, u_long, caddr_t); 113 struct ifnet *ifp; 125 /* Initialize ifnet structure. */ 199 struct ifnet *ifp = sc->sc_ifp; 213 struct ifnet *ifp = sc->sc_ifp; 243 lance_start(struct ifnet *ifp) 255 struct ifnet *if [all...] |
/freebsd-10.0-release/sys/dev/smc/ |
H A D | if_smcvar.h | 32 struct ifnet *smc_ifp;
|
/freebsd-10.0-release/sys/dev/wtap/ |
H A D | if_wtapvar.h | 135 struct ifnet *sc_ifp; /* interface common */ 141 (struct ifnet *, struct mbuf *, struct sockaddr *, struct route *); 142 void (*if_input) (struct ifnet *, struct mbuf *);/* from h/w driver */ 143 int (*if_transmit)(struct ifnet *, struct mbuf *);/* output routine */
|
/freebsd-10.0-release/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket_hci_raw.h | 77 struct ifnet *, struct thread *);
|
/freebsd-10.0-release/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_vlan.c | 46 struct ifnet *dev = to_net_dev(d); 53 int ipoib_vlan_add(struct ifnet *pdev, unsigned short pkey) 160 int ipoib_vlan_delete(struct ifnet *pdev, unsigned short pkey) 163 struct ifnet *dev = NULL;
|
/freebsd-10.0-release/sys/ofed/include/linux/ |
H A D | netdevice.h | 54 #define net_device ifnet 71 _handle_ifnet_link_event(void *arg, struct ifnet *ifp, int linkstate) 83 _handle_ifnet_arrival_event(void *arg, struct ifnet *ifp) 92 _handle_ifnet_departure_event(void *arg, struct ifnet *ifp)
|
/freebsd-10.0-release/sys/mips/cavium/ |
H A D | if_octm.c | 68 struct ifnet *sc_ifp; 84 static int octm_transmit(struct ifnet *, struct mbuf *); 86 static int octm_medchange(struct ifnet *); 87 static void octm_medstat(struct ifnet *, struct ifmediareq *); 89 static int octm_ioctl(struct ifnet *, u_long, caddr_t); 151 struct ifnet *ifp; 217 device_printf(dev, "cannot allocate ifnet.\n"); 287 struct ifnet *ifp; 332 octm_transmit(struct ifnet *ifp, struct mbuf *m) 372 octm_medchange(struct ifnet *if [all...] |
/freebsd-10.0-release/sys/mips/nlm/dev/net/ |
H A D | xlpge.h | 48 struct ifnet *xlpge_if; 91 struct ifnet *xlpge_if; /* should be first member */
|