Searched refs:ifnet (Results 51 - 75 of 636) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/net/
H A Dif_ef.c89 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 Dif.c99 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 Dif_vlan.c85 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 Dif_faith.c85 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 Dif_lagg.h182 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 Dif_pflog.c117 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 Din_var.h142 * 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 Dng_fec.c132 * 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 Dng_ether.c80 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 Din6_ifattach.c84 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 Din6_var.h576 * 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 Difmcstat.c335 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 Dsfxge_tx.h179 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 Dethernet-mdio.c60 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 Dethernet-sgmii.c49 int cvm_oct_sgmii_init(struct ifnet *ifp)
H A Dethernet-xaui.c49 int cvm_oct_xaui_init(struct ifnet *ifp)
H A Docte.c93 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 Dethernet-common.c56 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 Dif_fwipvar.h58 struct ifnet *fwip_ifp;
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dinetdevice.h39 struct ifnet *ifp;
/freebsd-9.3-release/sys/security/mac_ifoff/
H A Dmac_ifoff.c87 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 Dip_fil.c148 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 Dcxgb_ctl_defs.h64 * 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 Dipx_var.h103 struct ifnet;
115 struct ifnet *ifp, struct thread *td);
/freebsd-9.3-release/sys/netnatm/
H A Dnatm.h66 struct ifnet *npcb_ifp; /* pointer to hardware */
108 struct natmpcb *npcb_add(struct natmpcb *, struct ifnet *, uint16_t, uint8_t);

Completed in 192 milliseconds

1234567891011>>