/freebsd-9.3-release/sys/net/ |
H A D | if_ef.c | 89 struct ifnet *ef_ifp; 90 struct ifnet *ef_pifp; 96 struct ifnet *el_ifp; /* raw device for this clones */ 103 extern int (*ef_inputp)(struct ifnet*, struct ether_header *eh, struct mbuf *m); 104 extern int (*ef_outputp)(struct ifnet *ifp, struct mbuf **mp, 108 static void ef_reset (struct ifnet *); 113 static int ef_ioctl(struct ifnet *, u_long, caddr_t); 114 static void ef_start(struct ifnet *); 115 static int ef_input(struct ifnet*, struct ether_header *, struct mbuf *); 116 static int ef_output(struct ifnet *if [all...] |
H A D | if.c | 99 struct ifnet *ife_ifnet; 122 static MALLOC_DEFINE(M_IFDESCR, "ifdescr", "ifnet descriptions"); 126 SX_SYSINIT(ifdescr_sx, &ifdescr_sx, "ifnet descr"); 128 void (*bridge_linkstate_p)(struct ifnet *ifp); 129 void (*ng_ether_link_state_p)(struct ifnet *ifp, int state); 130 void (*lagg_linkstate_p)(struct ifnet *ifp, int state); 132 void (*carp_linkstate_p)(struct ifnet *ifp); 134 struct ifnet *(*carp_forus_p)(struct ifnet *ifp, u_char *dhost); 135 int (*carp_output_p)(struct ifnet *if [all...] |
H A D | if_vlan.c | 85 struct ifnet *parent; /* parent interface of this trunk */ 105 struct ifnet *ifv_ifp; 131 int (*func)(struct ifnet *, int); 192 static void vlan_input(struct ifnet *ifp, struct mbuf *m); 193 static int vlan_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr); 194 static void vlan_qflush(struct ifnet *ifp); 195 static int vlan_setflag(struct ifnet *ifp, int flag, int status, 196 int (*func)(struct ifnet *, int)); 197 static int vlan_setflags(struct ifnet *ifp, int status); 198 static int vlan_setmulti(struct ifnet *if [all...] |
H A D | if_faith.c | 85 struct ifnet *sc_ifp; 88 static int faithioctl(struct ifnet *, u_long, caddr_t); 89 int faithoutput(struct ifnet *, struct mbuf *, struct sockaddr *, 101 static void faith_clone_destroy(struct ifnet *); 151 struct ifnet *ifp; 179 struct ifnet *ifp; 191 struct ifnet *ifp; 264 struct ifnet *ifp;
|
H A D | if_lagg.h | 182 struct ifnet *llq_ifp; 188 struct ifnet *sc_ifp; /* virtual interface */ 227 struct ifnet *lp_ifp; /* physical interface */ 237 int lp_detaching; /* ifnet is detaching */ 242 int (*lp_ioctl)(struct ifnet *, u_long, caddr_t); 243 int (*lp_output)(struct ifnet *, struct mbuf *, struct sockaddr *, 258 extern struct mbuf *(*lagg_input_p)(struct ifnet *, struct mbuf *); 259 extern void (*lagg_linkstate_p)(struct ifnet *, int ); 261 int lagg_enqueue(struct ifnet *, struct mbuf *);
|
/freebsd-9.3-release/sys/contrib/pf/net/ |
H A D | if_pflog.c | 117 int pflogoutput(struct ifnet *, struct mbuf *, struct sockaddr *, 123 int pflogioctl(struct ifnet *, u_long, caddr_t); 124 void pflogstart(struct ifnet *); 127 static void pflog_clone_destroy(struct ifnet *); 130 int pflog_clone_destroy(struct ifnet *); 141 struct ifnet *pflogifs[PFLOGIFS_MAX]; /* for fast access */ 161 struct ifnet *ifp; 224 pflog_clone_destroy(struct ifnet *ifp) 227 pflog_clone_destroy(struct ifnet *ifp) 261 pflogstart(struct ifnet *if [all...] |
/freebsd-9.3-release/sys/netinet/ |
H A D | in_var.h | 142 * Macro for finding the interface (ifnet structure) corresponding to one 147 /* struct ifnet *ifp; */ \ 157 * to a given interface (ifnet structure). 160 /* struct ifnet *ifp; */ \ 187 struct ifnet *rti_ifp; 198 struct ifnet *igi_ifp; /* interface this instance belongs to */ 263 * For every entry on an ifnet's if_multiaddrs list which represents 278 * on a detaching ifnet. It could be demoted to a SLIST_ENTRY, but 285 struct ifnet *inm_ifp; /* back pointer to ifnet */ [all...] |
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_fec.c | 132 * ifnet structure so that receive handling works. As far as I can 147 struct ifnet *fec_if; 148 void (*fec_if_input) (struct ifnet *, 166 int (*fec_if_output) (struct ifnet *, 178 struct ifnet *ifp; 190 static void ng_fec_input(struct ifnet *, struct mbuf *); 191 static void ng_fec_start(struct ifnet *ifp); 193 struct mbuf *m, struct ifnet **ifp); 194 static int ng_fec_setport(struct ifnet *ifp, u_long cmd, caddr_t data); 196 static void ng_fec_stop(struct ifnet *if [all...] |
H A D | ng_ether.c | 80 struct ifnet *ifp; /* associated interface */ 92 extern void (*ng_ether_input_p)(struct ifnet *ifp, struct mbuf **mp); 93 extern void (*ng_ether_input_orphan_p)(struct ifnet *ifp, struct mbuf *m); 94 extern int (*ng_ether_output_p)(struct ifnet *ifp, struct mbuf **mp); 95 extern void (*ng_ether_attach_p)(struct ifnet *ifp); 96 extern void (*ng_ether_detach_p)(struct ifnet *ifp); 97 extern void (*ng_ether_link_state_p)(struct ifnet *ifp, int state); 100 static void ng_ether_input(struct ifnet *ifp, struct mbuf **mp); 101 static void ng_ether_input_orphan(struct ifnet *ifp, struct mbuf *m); 102 static int ng_ether_output(struct ifnet *if [all...] |
/freebsd-9.3-release/sys/netinet6/ |
H A D | in6_ifattach.c | 84 static int get_rand_ifid(struct ifnet *, struct in6_addr *); 86 static int get_ifid(struct ifnet *, struct ifnet *, struct in6_addr *); 87 static int in6_ifattach_linklocal(struct ifnet *, struct ifnet *); 88 static int in6_ifattach_loopback(struct ifnet *); 89 static void in6_purgemaddrs(struct ifnet *); 112 get_rand_ifid(struct ifnet *ifp, struct in6_addr *in6) 236 in6_get_hw_ifid(struct ifnet *ifp, struct in6_addr *in6) 388 get_ifid(struct ifnet *ifp [all...] |
H A D | in6_var.h | 576 * For every entry on an ifnet's if_multiaddrs list which represents 591 * on a detaching ifnet. It could be demoted to a SLIST_ENTRY, but 598 struct ifnet *in6m_ifp; /* back pointer to ifnet */ 676 in6m_lookup_locked(struct ifnet *ifp, const struct in6_addr *mcaddr) 702 in6m_lookup(struct ifnet *ifp, const struct in6_addr *mcaddr) 728 int im6o_mc_filter(const struct ip6_moptions *, const struct ifnet *, 730 int in6_mc_join(struct ifnet *, const struct in6_addr *, 732 int in6_mc_join_locked(struct ifnet *, const struct in6_addr *, 747 in6_joingroup(struct ifnet *, struc [all...] |
/freebsd-9.3-release/usr.sbin/ifmcstat/ |
H A D | ifmcstat.c | 335 struct ifnet *ifp, *nifp, ifnet; local 350 KREAD(nl[N_IFNET].n_value, &ifp, struct ifnet *); 352 KREAD(ifp, &ifnet, struct ifnet); 353 nifp = ifnet.if_link.tqe_next; 354 if (ifindex && ifindex != ifnet.if_index) 357 printf("%s:\n", if_indextoname(ifnet.if_index, ifname)); 359 if_addrlist(TAILQ_FIRST(&ifnet.if_addrhead)); 362 if6_addrlist(TAILQ_FIRST(&ifnet 414 struct ifnet ifnet; local 446 struct ifnet ifnet; local 483 struct ifnet ifnet; local 532 struct ifnet ifnet; local [all...] |
/freebsd-9.3-release/sys/dev/sfxge/ |
H A D | sfxge_tx.h | 179 extern void sfxge_if_qflush(struct ifnet *ifp); 180 extern int sfxge_if_transmit(struct ifnet *ifp, struct mbuf *m); 182 extern void sfxge_if_start(struct ifnet *ifp);
|
/freebsd-9.3-release/sys/mips/cavium/octe/ |
H A D | ethernet-mdio.c | 60 int cvm_oct_mdio_read(struct ifnet *ifp, int phy_id, int location) 93 void cvm_oct_mdio_write(struct ifnet *ifp, int phy_id, int location, int val) 122 int cvm_oct_mdio_setup_device(struct ifnet *ifp)
|
H A D | ethernet-sgmii.c | 49 int cvm_oct_sgmii_init(struct ifnet *ifp)
|
H A D | ethernet-xaui.c | 49 int cvm_oct_xaui_init(struct ifnet *ifp)
|
H A D | octe.c | 93 static int octe_transmit(struct ifnet *, struct mbuf *); 95 static int octe_mii_medchange(struct ifnet *); 96 static void octe_mii_medstat(struct ifnet *, struct ifmediareq *); 98 static int octe_medchange(struct ifnet *); 99 static void octe_medstat(struct ifnet *, struct ifmediareq *); 101 static int octe_ioctl(struct ifnet *, u_long, caddr_t); 137 struct ifnet *ifp; 267 struct ifnet *ifp; 296 struct ifnet *ifp; 312 octe_transmit(struct ifnet *if [all...] |
H A D | ethernet-common.c | 56 void cvm_oct_common_set_multicast_list(struct ifnet *ifp) 99 void cvm_oct_common_set_mac_address(struct ifnet *ifp, const void *addr) 138 int cvm_oct_common_change_mtu(struct ifnet *ifp, int new_mtu) 179 int cvm_oct_common_open(struct ifnet *ifp) 209 int cvm_oct_common_stop(struct ifnet *ifp) 225 void cvm_oct_common_poll(struct ifnet *ifp) 270 int cvm_oct_common_init(struct ifnet *ifp) 310 void cvm_oct_common_uninit(struct ifnet *ifp)
|
/freebsd-9.3-release/sys/dev/firewire/ |
H A D | if_fwipvar.h | 58 struct ifnet *fwip_ifp;
|
/freebsd-9.3-release/sys/ofed/include/linux/ |
H A D | inetdevice.h | 39 struct ifnet *ifp;
|
/freebsd-9.3-release/sys/security/mac_ifoff/ |
H A D | mac_ifoff.c | 87 ifnet_check_outgoing(struct ifnet *ifp) 103 ifnet_check_incoming(struct ifnet *ifp, int viabpf) 126 struct ifnet *ifp, struct label *ifplabel) 133 ifoff_ifnet_check_transmit(struct ifnet *ifp, struct label *ifplabel,
|
/freebsd-9.3-release/contrib/ipfilter/ |
H A D | ip_fil.c | 148 static struct ifnet **ifneta = NULL; 151 static void fr_setifpaddr __P((struct ifnet *, char *)); 154 static int no_output __P((struct ifnet *, struct mbuf *, 156 static int write_output __P((struct ifnet *, struct mbuf *, 160 static int no_output __P((struct ifnet *, struct mbuf *, 162 static int write_output __P((struct ifnet *, struct mbuf *, 165 static int no_output __P((struct ifnet *, struct mbuf *, 167 static int write_output __P((struct ifnet *, struct mbuf *, 263 struct ifnet *ifp; 282 struct ifnet *if [all...] |
/freebsd-9.3-release/sys/dev/cxgb/common/ |
H A D | cxgb_ctl_defs.h | 64 * Structure used to request the ifnet that owns a given MAC address. 67 struct ifnet *dev; 86 struct ifnet *lldevs[MAX_NPORTS];
|
/freebsd-9.3-release/sys/netipx/ |
H A D | ipx_var.h | 103 struct ifnet; 115 struct ifnet *ifp, struct thread *td);
|
/freebsd-9.3-release/sys/netnatm/ |
H A D | natm.h | 66 struct ifnet *npcb_ifp; /* pointer to hardware */ 108 struct natmpcb *npcb_add(struct natmpcb *, struct ifnet *, uint16_t, uint8_t);
|