| /f-stack/freebsd/mips/cavium/octe/ |
| H A D | ethernet-common.h | 32 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); 50 int cvm_oct_rgmii_init(struct ifnet *ifp); 51 void cvm_oct_rgmii_uninit(struct ifnet *ifp); 52 int cvm_oct_sgmii_init(struct ifnet *ifp); 53 int cvm_oct_spi_init(struct ifnet *ifp); 54 void cvm_oct_spi_uninit(struct ifnet *ifp); [all …]
|
| H A D | cavium-ethernet.h | 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 D | ethernet-mv88e61xx.c | 65 static int cvm_oct_mv88e61xx_smi_read(struct ifnet *, int, int); 66 static void cvm_oct_mv88e61xx_smi_write(struct ifnet *, int, int, int); 67 static int cvm_oct_mv88e61xx_smi_wait(struct ifnet *); 70 cvm_oct_mv88e61xx_setup_device(struct ifnet *ifp) in cvm_oct_mv88e61xx_setup_device() 82 cvm_oct_mv88e61xx_smi_read(struct ifnet *ifp, int phy_id, int location) in cvm_oct_mv88e61xx_smi_read() 104 cvm_oct_mv88e61xx_smi_write(struct ifnet *ifp, int phy_id, int location, int val) in cvm_oct_mv88e61xx_smi_write() 118 cvm_oct_mv88e61xx_smi_wait(struct ifnet *ifp) in cvm_oct_mv88e61xx_smi_wait()
|
| /f-stack/freebsd/net/ |
| H A D | if_var.h | 127 typedef struct ifnet * if_t; 288 struct ifnet { struct 502 struct ifnet *ifgm_ifp; 625 #define V_ifnet VNET(ifnet) 640 struct ifnet* if_alloc(u_char); 644 void if_dead(struct ifnet *); 651 void if_down(struct ifnet *); 655 void if_free(struct ifnet *); 659 void if_ref(struct ifnet *); 660 void if_rele(struct ifnet *); [all …]
|
| H A D | if_dead.c | 47 ifdead_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *sa, in ifdead_output() 56 ifdead_input(struct ifnet *ifp, struct mbuf *m) in ifdead_input() 63 ifdead_start(struct ifnet *ifp) in ifdead_start() 69 ifdead_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) in ifdead_ioctl() 76 ifdead_resolvemulti(struct ifnet *ifp, struct sockaddr **llsa, in ifdead_resolvemulti() 85 ifdead_qflush(struct ifnet *ifp) in ifdead_qflush() 91 ifdead_transmit(struct ifnet *ifp, struct mbuf *m) in ifdead_transmit() 99 ifdead_get_counter(struct ifnet *ifp, ift_counter cnt) in ifdead_get_counter() 106 ifdead_snd_tag_alloc(struct ifnet *ifp, union if_snd_tag_alloc_params *params, in ifdead_snd_tag_alloc() 130 ifdead_ratelimit_query(struct ifnet *ifp __unused, in ifdead_ratelimit_query() [all …]
|
| H A D | if_vlan_var.h | 155 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_t); 167 typedef void (*vlan_unconfig_fn)(void *, struct ifnet *, uint16_t);
|
| H A D | if_gif.h | 44 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 *, struct mbuf *, int, uint8_t);
|
| H A D | if.c | 340 struct ifnet * 352 struct ifnet * 592 struct ifnet * 655 struct ifnet * 665 struct ifnet * 2239 struct ifnet *(*vlan_trunkdev_p)(struct ifnet *); 2240 struct ifnet *(*vlan_devat_p)(struct ifnet *, uint16_t); 2356 struct ifnet * 4434 struct ifnet *ifp = (struct ifnet *)ifh; in if_bpfmtap() 4442 struct ifnet *ifp = (struct ifnet *)ifh; in if_etherbpfmtap() [all …]
|
| H A D | if_clone.h | 49 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 D | if_sppp.h | 139 struct ifnet *pp_ifp; /* network interface data */ 203 void (*if_start) (struct ifnet *); 216 void sppp_attach (struct ifnet *ifp); 217 void sppp_detach (struct ifnet *ifp); 218 void sppp_input (struct ifnet *ifp, struct mbuf *m); 219 int sppp_ioctl (struct ifnet *ifp, u_long cmd, void *data); 220 struct mbuf *sppp_dequeue (struct ifnet *ifp); 221 struct mbuf *sppp_pick(struct ifnet *ifp); 222 int sppp_isempty (struct ifnet *ifp); 223 void sppp_flush (struct ifnet *ifp);
|
| H A D | if_vlan.c | 186 struct ifnet *ifv_ifp; 927 struct ifnet *ifp; in vlan_clone_match_ethervid() 957 struct ifnet *ifp; in vlan_clone_match() 987 struct ifnet *ifp; in vlan_clone_create() 1173 struct ifnet *p; in vlan_transmit() 1242 struct ifnet *p; in vlan_output() 1373 struct ifnet *ifp; in vlan_lladdr_fn() 1392 struct ifnet *ifp; in vlan_config() 1701 struct ifnet *p; in vlan_capabilities() 1702 struct ifnet *ifp; in vlan_capabilities() [all …]
|
| H A D | if_edsc.c | 64 struct ifnet *sc_ifp; /* ptr to generic interface configuration */ 78 static void edsc_clone_destroy(struct ifnet *); 85 static int edsc_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data); 86 static void edsc_start(struct ifnet *ifp); 100 struct ifnet *ifp; in edsc_clone_create() 175 edsc_clone_destroy(struct ifnet *ifp) in edsc_clone_destroy() 200 struct ifnet *ifp = sc->sc_ifp; in edsc_init() 210 edsc_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) in edsc_ioctl() 255 edsc_start(struct ifnet *ifp) in edsc_start()
|
| H A D | debugnet.h | 76 struct ifnet; 78 typedef void debugnet_init_t(struct ifnet *, int *nrxr, int *ncl, int *clsize); 79 typedef void debugnet_event_t(struct ifnet *, enum debugnet_ev); 80 typedef int debugnet_transmit_t(struct ifnet *, struct mbuf *); 81 typedef int debugnet_poll_t(struct ifnet *, int); 99 struct ifnet *dc_ifp; 213 void debugnet_any_ifnet_update(struct ifnet *); 230 struct ifnet *dd_ifp; /* not ref'd */
|
| H A D | infiniband.h | 66 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 D | if_disc.c | 67 struct ifnet *sc_ifp; 70 static int discoutput(struct ifnet *, struct mbuf *, 72 static int discioctl(struct ifnet *, u_long, caddr_t); 74 static void disc_clone_destroy(struct ifnet *); 85 struct ifnet *ifp; in disc_clone_create() 122 disc_clone_destroy(struct ifnet *ifp) in disc_clone_destroy() 177 discoutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, in discoutput() 206 discioctl(struct ifnet *ifp, u_long cmd, caddr_t data) in discioctl()
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_ifattach.h | 39 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 D | scope6_var.h | 51 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 D | nd6.h | 202 struct ifnet *ifp; 208 struct ifnet *ndpr_ifp; 222 struct ifnet *ndpr_ifp; 361 struct nd_ifinfo *nd6_ifattach(struct ifnet *); 368 void nd6_setmtu(struct ifnet *); 371 void nd6_purge(struct ifnet *); 376 int nd6_ioctl(u_long, caddr_t, struct ifnet *); 385 int nd6_output_ifp(struct ifnet *, struct ifnet *, struct mbuf *, 400 caddr_t nd6_ifptomac(struct ifnet *); 411 struct ifnet *); [all …]
|
| H A D | in6_ifattach.c | 91 static int get_ifid(struct ifnet *, struct ifnet *, struct in6_addr *); 92 static int in6_ifattach_linklocal(struct ifnet *, struct ifnet *); 358 get_ifid(struct ifnet *ifp0, struct ifnet *altifp, in get_ifid() 361 struct ifnet *ifp; in get_ifid() 421 in6_ifattach_linklocal(struct ifnet *ifp, struct ifnet *altifp) in in6_ifattach_linklocal() 538 in6_ifattach_loopback(struct ifnet *ifp) in in6_ifattach_loopback() 675 in6_ifattach(struct ifnet *ifp, struct ifnet *altifp) in in6_ifattach() 791 in6_ifdetach(struct ifnet *ifp) in in6_ifdetach() 798 in6_ifdetach_destroy(struct ifnet *ifp) in in6_ifdetach_destroy() 835 struct ifnet *ifp; in in6_tmpaddrtimer() [all …]
|
| /f-stack/tools/compat/include/netinet6/ |
| H A D | nd6.h | 202 struct ifnet *ifp; 208 struct ifnet *ndpr_ifp; 222 struct ifnet *ndpr_ifp; 361 struct nd_ifinfo *nd6_ifattach(struct ifnet *); 368 void nd6_setmtu(struct ifnet *); 371 void nd6_purge(struct ifnet *); 376 int nd6_ioctl(u_long, caddr_t, struct ifnet *); 385 int nd6_output_ifp(struct ifnet *, struct ifnet *, struct mbuf *, 400 caddr_t nd6_ifptomac(struct ifnet *); 411 struct ifnet *); [all …]
|
| /f-stack/tools/compat/include/net/ |
| H A D | if_vlan_var.h | 155 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_t); 167 typedef void (*vlan_unconfig_fn)(void *, struct ifnet *, uint16_t);
|
| H A D | if_gif.h | 44 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 *, struct mbuf *, int, uint8_t);
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | ip_carp.h | 144 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 *, struct mbuf *,
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_carp.h | 144 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 *, struct mbuf *,
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_bpf.c | 50 VNET_DEFINE_STATIC(struct ifnet *, log_if); 51 VNET_DEFINE_STATIC(struct ifnet *, pflog_if); 63 ipfw_bpf_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr) in ipfw_bpf_ioctl() 70 ipfw_bpf_output(struct ifnet *ifp, struct mbuf *m, in ipfw_bpf_output() 80 ipfw_clone_destroy(struct ifnet *ifp) in ipfw_clone_destroy() 97 struct ifnet *ifp; in ipfw_clone_create() 123 struct ifnet *ifp; in ipfwlog_clone_create() 149 struct ifnet *ifp = V_log_if; in ipfw_bpf_tap() 159 struct ifnet *ifp = V_log_if; in ipfw_bpf_mtap() 169 struct ifnet *logif; in ipfw_bpf_mtap2()
|