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

1234567891011>>

/freebsd-13-stable/sys/netinet6/
H A Din6_ifattach.h39 void in6_ifattach(struct ifnet *, struct ifnet *);
41 void in6_ifdetach(struct ifnet *);
42 void in6_ifdetach_destroy(struct ifnet *);
43 int in6_get_tmpifid(struct ifnet *, u_int8_t *, const u_int8_t *, int);
45 int in6_get_hw_ifid(struct ifnet *, struct in6_addr *);
46 int in6_nigroup(struct ifnet *, const char *, int, struct in6_addr *);
47 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_ioctl(u_long cmd, caddr_t data, struct ifnet *);
54 void scope6_setdefault(struct ifnet *);
60 int sa6_checkzone_ifp(struct ifnet *, struct sockaddr_in6 *);
61 int in6_setscope(struct in6_addr *, struct ifnet *, u_int32_t *);
64 uint32_t in6_getscopezone(const struct ifnet *, int);
66 struct ifnet* in6_getlinkifnet(uint32_t);
67 uint32_t in6_get_unicast_scopeid(const struct in6_addr *, const struct ifnet *);
H A Dsend.h45 extern int (*send_sendso_input_hook)(struct mbuf *, struct ifnet *, int, int);
/freebsd-13-stable/sys/mips/cavium/octe/
H A Dethernet-common.h32 int cvm_oct_common_open(struct ifnet *ifp);
33 int cvm_oct_common_stop(struct ifnet *ifp);
34 void cvm_oct_common_poll(struct ifnet *ifp);
35 int cvm_oct_common_init(struct ifnet *ifp);
36 void cvm_oct_common_uninit(struct ifnet *ifp);
38 int cvm_oct_common_change_mtu(struct ifnet *ifp, int new_mtu);
39 void cvm_oct_common_set_multicast_list(struct ifnet *ifp);
40 void cvm_oct_common_set_mac_address(struct ifnet *ifp, const void *);
50 int cvm_oct_rgmii_init(struct ifnet *ifp);
51 void cvm_oct_rgmii_uninit(struct ifnet *if
[all...]
H A Dethernet-mv88e61xx.h34 int cvm_oct_mv88e61xx_setup_device(struct ifnet *ifp);
H A Dethernet-tx.h32 int cvm_oct_xmit(struct mbuf *m, struct ifnet *ifp);
33 void cvm_oct_tx_shutdown(struct ifnet *ifp);
H A Dcavium-ethernet.h51 /* XXX FreeBSD device softcs must start with an ifnet pointer. */
52 struct ifnet *ifp;
62 void (*poll)(struct ifnet *ifp); /* Called periodically to check link status */
70 int (*open)(struct ifnet *ifp);
71 int (*stop)(struct ifnet *ifp);
73 int (*init)(struct ifnet *ifp);
74 void (*uninit)(struct ifnet *ifp);
79 int (*mdio_read)(struct ifnet *, int, int);
80 void (*mdio_write)(struct ifnet *, int, int, int);
H A Dethernet-rx.h33 void cvm_oct_poll_controller(struct ifnet *ifp);
H A Dethernet-mdio.h38 int cvm_oct_mdio_read(struct ifnet *ifp, int phy_id, int location);
39 void cvm_oct_mdio_write(struct ifnet *ifp, int phy_id, int location, int val);
40 int cvm_oct_mdio_setup_device(struct ifnet *ifp);
/freebsd-13-stable/sys/dev/liquidio/
H A Dlio_ioctl.h38 int lio_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
40 void lio_stop(struct ifnet *ifp);
42 int lio_set_mac(struct ifnet *ifp, uint8_t *p);
H A Dlio_rxtx.h83 int lio_mq_start_locked(struct ifnet *ifp, struct lio_instr_queue *iq);
84 int lio_mq_start(struct ifnet *ifp, struct mbuf *m);
85 void lio_qflush(struct ifnet *ifp);
/freebsd-13-stable/sys/net/
H A Dif_clone.h49 typedef int ifc_destroy_t(struct if_clone *, struct ifnet *);
52 typedef void ifcs_destroy_t(struct ifnet *);
79 struct if_clone *if_clone_findifc(struct ifnet *);
80 void if_clone_addgroup(struct ifnet *, struct if_clone *);
83 void if_clone_addif(struct if_clone *, struct ifnet *);
84 int if_clone_destroyif(struct if_clone *, struct ifnet *);
H A Dif_dead.c31 * ifnet function pointers to "ifdead" versions. This prevents unexpected
47 ifdead_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *sa,
56 ifdead_input(struct ifnet *ifp, struct mbuf *m)
63 ifdead_start(struct ifnet *ifp)
69 ifdead_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
76 ifdead_resolvemulti(struct ifnet *ifp, struct sockaddr **llsa,
85 ifdead_qflush(struct ifnet *ifp)
91 ifdead_transmit(struct ifnet *ifp, struct mbuf *m)
99 ifdead_get_counter(struct ifnet *ifp, ift_counter cnt)
106 ifdead_snd_tag_alloc(struct ifnet *if
[all...]
H A Dinfiniband.h66 struct ifnet;
69 extern void infiniband_ifattach(struct ifnet *, const uint8_t *hwaddr, const uint8_t *bcaddr);
70 extern void infiniband_ifdetach(struct ifnet *);
71 extern void infiniband_bpf_mtap(struct ifnet *, struct mbuf *);
74 typedef void (*infiniband_ifattach_event_handler_t)(void *, struct ifnet *);
H A Dif_gif.h44 extern void (*ng_gif_input_p)(struct ifnet *ifp, struct mbuf **mp,
46 extern void (*ng_gif_input_orphan_p)(struct ifnet *ifp, struct mbuf *m,
48 extern int (*ng_gif_output_p)(struct ifnet *ifp, struct mbuf **mp);
49 extern void (*ng_gif_attach_p)(struct ifnet *ifp);
50 extern void (*ng_gif_detach_p)(struct ifnet *ifp);
53 struct ifnet *gif_ifp;
106 void gif_input(struct mbuf *, struct ifnet *, int, uint8_t);
107 int gif_output(struct ifnet *, struct mbuf *, const struct sockaddr *,
112 int in_gif_output(struct ifnet *, struct mbuf *, int, uint8_t);
118 int in6_gif_output(struct ifnet *, struc
[all...]
H A Dif_var.h92 CK_STAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */
127 typedef struct ifnet * if_t;
276 typedef int (if_snd_tag_alloc_t)(struct ifnet *, union if_snd_tag_alloc_params *,
282 typedef void (if_ratelimit_query_t)(struct ifnet *,
284 typedef int (if_ratelimit_setup_t)(struct ifnet *, uint64_t, uint32_t);
289 struct ifnet { struct
291 CK_STAILQ_ENTRY(ifnet) if_link; /* all struct ifnets are chained (CK_) */
292 LIST_ENTRY(ifnet) if_clones; /* interfaces of a cloner */
358 struct vnet *if_home_vnet; /* where this ifnet originates from */
371 (struct ifnet *, struc
[all...]
H A Dif_vlan_var.h155 extern void (*vlan_trunk_cap_p)(struct ifnet *);
156 extern struct ifnet *(*vlan_trunkdev_p)(struct ifnet *);
157 extern struct ifnet *(*vlan_devat_p)(struct ifnet *, uint16_t);
158 extern int (*vlan_tag_p)(struct ifnet *, uint16_t *);
159 extern int (*vlan_pcp_p)(struct ifnet *, uint16_t *);
160 extern int (*vlan_setcookie_p)(struct ifnet *, void *);
161 extern void *(*vlan_cookie_p)(struct ifnet *);
166 typedef void (*vlan_config_fn)(void *, struct ifnet *, uint16_
[all...]
H A Dfirewire.h126 struct ifnet *fc_ifp;
136 extern void firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src);
137 extern void firewire_ifattach(struct ifnet *, struct fw_hwaddr *);
138 extern void firewire_ifdetach(struct ifnet *);
139 extern void firewire_busreset(struct ifnet *);
140 extern int firewire_ioctl(struct ifnet *, u_long, caddr_t);
/freebsd-13-stable/sys/compat/linux/
H A Dlinux_common.h33 struct ifnet *ifname_linux_to_bsd(struct thread *td,
35 void linux_ifflags(struct ifnet *ifp, short *flags);
36 int linux_ifhwaddr(struct ifnet *ifp, struct l_sockaddr *lsa);
/freebsd-13-stable/sys/netinet/
H A Dip_carp.h144 void carp_carpdev_state(struct ifnet *);
147 int carp_output (struct ifnet *, struct mbuf *,
151 struct ifaddr *carp_iamatch6(struct ifnet *, struct in6_addr *);
152 char * carp_macmatch6(struct ifnet *, struct mbuf *, const struct in6_addr *);
153 int carp_forus(struct ifnet *, u_char *);
160 extern void (*carp_linkstate_p)(struct ifnet *);
164 extern int (*carp_forus_p)(struct ifnet *, u_char *);
166 extern int (*carp_output_p)(struct ifnet *, struct mbuf *,
176 extern struct ifaddr *(*carp_iamatch6_p)(struct ifnet *, struct in6_addr *);
177 extern char * (*carp_macmatch6_p)(struct ifnet *, struc
[all...]
/freebsd-13-stable/share/examples/hast/
H A Ducarp.sh54 ifnet="${nodea_ifnet}"
59 if [ -n "${srcip}" -o -n "${ifnet}" ]; then
64 ifnet="${nodeb_ifnet}"
67 if [ -z "${srcip}" -o -z "${ifnet}" ]; then
71 ucarp -i ${ifnet} -s ${srcip} -v ${vhid} -a ${addr} -p ${pass} -u "${upscript}" -d "${downscript}"
/freebsd-13-stable/sys/mips/atheros/
H A Dar71xx_macaddr.h37 extern int ar71xx_mac_addr_random_init(struct ifnet *ifp, struct ether_addr *dst);
/freebsd-13-stable/sys/dev/cxgbe/tom/
H A Dt4_tom_l2t.h38 struct l2t_entry *t4_l2t_get(struct port_info *, struct ifnet *,
40 void t4_l2_update(struct toedev *, struct ifnet *, struct sockaddr *,
/freebsd-13-stable/sys/dev/usb/net/
H A Dusb_ethernet.h65 int (*ue_mii_upd)(struct ifnet *);
66 void (*ue_mii_sts)(struct ifnet *,
68 int (*ue_ioctl)(struct ifnet *, u_long, caddr_t);
79 struct ifnet *ue_ifp;
108 struct ifnet *uether_getifp(struct usb_ether *);
114 int uether_ifmedia_upd(struct ifnet *);
116 int uether_ioctl(struct ifnet *, u_long, caddr_t);
125 void uether_start(struct ifnet *);
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dif_vlan.h45 is_vlan_dev(struct ifnet *ifp)
51 vlan_dev_vlan_id(struct ifnet *ifp)

Completed in 303 milliseconds

1234567891011>>