Searched refs:ifnet (Results 1 - 25 of 657) sorted by relevance

1234567891011>>

/freebsd-10.0-release/sys/mips/cavium/octe/
H A Dethernet-common.h31 int cvm_oct_common_open(struct ifnet *ifp);
32 int cvm_oct_common_stop(struct ifnet *ifp);
33 void cvm_oct_common_poll(struct ifnet *ifp);
34 int cvm_oct_common_init(struct ifnet *ifp);
35 void cvm_oct_common_uninit(struct ifnet *ifp);
37 int cvm_oct_common_change_mtu(struct ifnet *ifp, int new_mtu);
38 void cvm_oct_common_set_multicast_list(struct ifnet *ifp);
39 void cvm_oct_common_set_mac_address(struct ifnet *ifp, const void *);
49 int cvm_oct_rgmii_init(struct ifnet *ifp);
50 void cvm_oct_rgmii_uninit(struct ifnet *if
[all...]
H A Dethernet-mv88e61xx.h32 int cvm_oct_mv88e61xx_setup_device(struct ifnet *ifp);
H A Dethernet-tx.h31 int cvm_oct_xmit(struct mbuf *m, struct ifnet *ifp);
32 void cvm_oct_tx_shutdown(struct ifnet *ifp);
H A Dcavium-ethernet.h48 /* XXX FreeBSD device softcs must start with an ifnet pointer. */
49 struct ifnet *ifp;
59 void (*poll)(struct ifnet *ifp); /* Called periodically to check link status */
67 int (*open)(struct ifnet *ifp);
68 int (*stop)(struct ifnet *ifp);
70 int (*init)(struct ifnet *ifp);
71 void (*uninit)(struct ifnet *ifp);
76 int (*mdio_read)(struct ifnet *, int, int);
77 void (*mdio_write)(struct ifnet *, int, int, int);
H A Dethernet-rx.h32 void cvm_oct_poll_controller(struct ifnet *ifp);
H A Dethernet-mdio.h37 int cvm_oct_mdio_read(struct ifnet *ifp, int phy_id, int location);
38 void cvm_oct_mdio_write(struct ifnet *ifp, int phy_id, int location, int val);
39 int cvm_oct_mdio_setup_device(struct ifnet *ifp);
/freebsd-10.0-release/sys/netinet6/
H A Din6_ifattach.h37 void in6_ifattach(struct ifnet *, struct ifnet *);
38 void in6_ifdetach(struct ifnet *);
39 int in6_get_tmpifid(struct ifnet *, u_int8_t *, const u_int8_t *, int);
41 int in6_get_hw_ifid(struct ifnet *, struct in6_addr *);
42 int in6_nigroup(struct ifnet *, const char *, int, struct in6_addr *);
43 int in6_nigroup_oldmcprefix(struct ifnet *, const char *, int, struct in6_addr *);
H A Dscope6_var.h51 struct scope6_id *scope6_ifattach(struct ifnet *);
53 int scope6_set(struct ifnet *, struct scope6_id *);
54 int scope6_get(struct ifnet *, struct scope6_id *);
55 void scope6_setdefault(struct ifnet *);
60 int in6_setscope(struct in6_addr *, struct ifnet *, u_int32_t *);
H A Din6_gif.h40 int in6_gif_output(struct ifnet *, int, struct mbuf *);
H A Dip6_ipsec.h39 struct ifnet **, struct secpolicy **sp);
H A Dsend.h43 extern int (*send_sendso_input_hook)(struct mbuf *, struct ifnet *, int, int);
/freebsd-10.0-release/sys/net/
H A Dif_enc.h33 extern struct ifnet *encif;
H A Dif_arc.h105 struct ifnet *ac_ifp; /* network-visible interface */
130 void arc_ifattach(struct ifnet *, u_int8_t);
131 void arc_ifdetach(struct ifnet *);
132 void arc_storelladdr(struct ifnet *, u_int8_t);
134 void arc_input(struct ifnet *, struct mbuf *);
135 int arc_output(struct ifnet *, struct mbuf *,
137 int arc_ioctl(struct ifnet *, u_long, caddr_t);
139 void arc_frag_init(struct ifnet *);
140 struct mbuf * arc_frag_next(struct ifnet *);
H A Dif_gif.h50 extern void (*ng_gif_input_p)(struct ifnet *ifp, struct mbuf **mp,
52 extern void (*ng_gif_input_orphan_p)(struct ifnet *ifp, struct mbuf *m,
54 extern int (*ng_gif_output_p)(struct ifnet *ifp, struct mbuf **mp);
55 extern void (*ng_gif_attach_p)(struct ifnet *ifp);
56 extern void (*ng_gif_detach_p)(struct ifnet *ifp);
59 struct ifnet *gif_ifp;
114 void gif_input(struct mbuf *, int, struct ifnet *);
115 int gif_output(struct ifnet *, struct mbuf *, const struct sockaddr *,
117 int gif_ioctl(struct ifnet *, u_long, caddr_t);
118 int gif_set_tunnel(struct ifnet *, struc
[all...]
H A Dif_dead.c29 * ifnet function pointers to "ifdead" versions. This prevents unexpected
45 ifdead_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *sa,
54 ifdead_input(struct ifnet *ifp, struct mbuf *m)
61 ifdead_start(struct ifnet *ifp)
67 ifdead_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
74 ifdead_resolvemulti(struct ifnet *ifp, struct sockaddr **llsa,
83 ifdead_qflush(struct ifnet *ifp)
89 ifdead_transmit(struct ifnet *ifp, struct mbuf *m)
97 if_dead(struct ifnet *ifp)
H A Dif_clone.h43 typedef int ifc_destroy_t(struct if_clone *, struct ifnet *);
46 typedef void ifcs_destroy_t(struct ifnet *);
73 int if_clone_destroyif(struct if_clone *, struct ifnet *);
H A Dif_vlan_var.h146 extern void (*vlan_trunk_cap_p)(struct ifnet *);
147 extern struct ifnet *(*vlan_trunkdev_p)(struct ifnet *);
148 extern struct ifnet *(*vlan_devat_p)(struct ifnet *, uint16_t);
149 extern int (*vlan_tag_p)(struct ifnet *, uint16_t *);
150 extern int (*vlan_setcookie_p)(struct ifnet *, void *);
151 extern void *(*vlan_cookie_p)(struct ifnet *);
H A Dif_var.h97 TAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */
125 struct ifnet { struct
129 TAILQ_ENTRY(ifnet) if_link; /* all struct ifnets are chained */
161 (struct ifnet *, struct mbuf *, const struct sockaddr *,
164 (struct ifnet *, struct mbuf *);
166 (struct ifnet *);
168 (struct ifnet *, u_long, caddr_t);
172 (struct ifnet *, struct sockaddr **, struct sockaddr *);
174 (struct ifnet *);
176 (struct ifnet *, struc
[all...]
H A Dfirewire.h124 struct ifnet *fc_ifp;
134 extern void firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src);
135 extern void firewire_ifattach(struct ifnet *, struct fw_hwaddr *);
136 extern void firewire_ifdetach(struct ifnet *);
137 extern void firewire_busreset(struct ifnet *);
138 extern int firewire_ioctl(struct ifnet *, u_long, caddr_t);
/freebsd-10.0-release/share/examples/hast/
H A Ducarp.sh52 ifnet="${nodea_ifnet}"
57 if [ -n "${srcip}" -o -n "${ifnet}" ]; then
62 ifnet="${nodeb_ifnet}"
65 if [ -z "${srcip}" -o -z "${ifnet}" ]; then
69 ucarp -i ${ifnet} -s ${srcip} -v ${vhid} -a ${addr} -p ${pass} -u "${upscript}" -d "${downscript}"
/freebsd-10.0-release/sys/netinet/
H A Dip_carp.h142 void carp_carpdev_state(struct ifnet *);
145 int carp_output (struct ifnet *, struct mbuf *,
149 struct ifaddr *carp_iamatch6(struct ifnet *, struct in6_addr *);
150 caddr_t carp_macmatch6(struct ifnet *, struct mbuf *, const struct in6_addr *);
151 int carp_forus(struct ifnet *, u_char *);
158 extern void (*carp_linkstate_p)(struct ifnet *);
162 extern int (*carp_forus_p)(struct ifnet *, u_char *);
164 extern int (*carp_output_p)(struct ifnet *, struct mbuf *,
174 extern struct ifaddr *(*carp_iamatch6_p)(struct ifnet *, struct in6_addr *);
175 extern caddr_t (*carp_macmatch6_p)(struct ifnet *, struc
[all...]
H A Din_gif.h40 int in_gif_output(struct ifnet *, int, struct mbuf *);
/freebsd-10.0-release/sys/dev/cxgbe/tom/
H A Dt4_tom_l2t.h36 struct l2t_entry *t4_l2t_get(struct port_info *, struct ifnet *,
38 void t4_l2_update(struct toedev *, struct ifnet *, struct sockaddr *,
/freebsd-10.0-release/usr.bin/netstat/
H A Dif.c206 struct ifnet ifnet; local
235 printf("ifnet: symbol not defined\n");
245 if (kread(ifnetaddr, (char *)&ifnet, sizeof ifnet) != 0)
278 if (kread(ifnetaddr, (char *)&ifnet, sizeof ifnet) != 0)
280 strlcpy(name, ifnet.if_xname, sizeof(name));
281 ifnetaddr = (u_long)TAILQ_NEXT(&ifnet, if_link);
291 if ((ifnet
559 struct ifnet ifnet; local
[all...]
/freebsd-10.0-release/sys/netatalk/
H A Dat_extern.h40 struct ifnet;
48 int aarpresolve(struct ifnet *, struct mbuf *,
56 struct ifnet *ifp, struct thread *td);

Completed in 152 milliseconds

1234567891011>>