Home
last modified time | relevance | path

Searched refs:if_t (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/freebsd/sys/net/
H A Dif_var.h124 typedef void (*if_start_fn_t)(if_t);
125 typedef int (*if_ioctl_fn_t)(if_t, u_long, caddr_t);
127 typedef void (*if_input_fn_t)(if_t, struct mbuf *);
128 typedef int (*if_output_fn_t)(if_t, struct mbuf *, const struct sockaddr *,
130 typedef void (*if_qflush_fn_t)(if_t);
131 typedef int (*if_transmit_fn_t)(if_t, struct mbuf *);
132 typedef uint64_t (*if_get_counter_t)(if_t, ift_counter);
133 typedef void (*if_reassign_fn_t)(if_t, struct vnet *, char *);
134 typedef int (*if_spdadd_fn_t)(if_t ifp, void *sp, void *inp, void **priv);
135 typedef int (*if_spddel_fn_t)(if_t ifp, void *sp, void *priv);
[all …]
H A Dif.c777 if_hw_tsomax_common(if_t ifp, struct ifnet_hw_tsomax *pmax) in if_hw_tsomax_common()
806 if_hw_tsomax_update(if_t ifp, struct ifnet_hw_tsomax *pmax) in if_hw_tsomax_update()
4171 if_getbaudrate(const if_t ifp) in if_getbaudrate()
4177 if_setcapabilities(if_t ifp, int capabilities) in if_setcapabilities()
4184 if_setcapabilitiesbit(if_t ifp, int setbit, int clearbit) in if_setcapabilitiesbit()
4192 if_getcapabilities(const if_t ifp) in if_getcapabilities()
4198 if_setcapenable(if_t ifp, int capabilities) in if_setcapenable()
4205 if_setcapenablebit(if_t ifp, int setcap, int clearcap) in if_setcapenablebit()
4213 if_setcapabilities2(if_t ifp, int capabilities) in if_setcapabilities2()
4220 if_setcapabilities2bit(if_t ifp, int setbit, int clearbit) in if_setcapabilities2bit()
[all …]
/freebsd/sys/dev/usb/net/
H A Dusb_ethernet.h62 int (*ue_mii_upd)(if_t);
63 void (*ue_mii_sts)(if_t,
65 int (*ue_ioctl)(if_t, u_long, caddr_t);
76 if_t ue_ifp;
105 if_t uether_getifp(struct usb_ether *);
111 int uether_ifmedia_upd(if_t);
113 int uether_ioctl(if_t, u_long, caddr_t);
122 void uether_start(if_t);
H A Dusb_ethernet.c80 static void ue_start(if_t);
81 static int ue_ifmedia_upd(if_t);
131 if_t
206 if_t ifp; in ue_attach_post_task()
294 if_t ifp; in uether_ifdetach()
372 if_t ifp = ue->ue_ifp; in ue_start_task()
400 uether_start(if_t ifp) in uether_start()
407 ue_start(if_t ifp) in ue_start()
440 uether_ifmedia_upd(if_t ifp) in uether_ifmedia_upd()
447 ue_ifmedia_upd(if_t ifp) in ue_ifmedia_upd()
[all …]
/freebsd/sys/dev/liquidio/
H A Dlio_ioctl.c48 static int lio_set_rx_csum(if_t ifp, uint32_t data);
49 static int lio_set_tso4(if_t ifp);
50 static int lio_set_tso6(if_t ifp);
51 static int lio_set_lro(if_t ifp);
52 static int lio_change_mtu(if_t ifp, int new_mtu);
53 static int lio_set_mcast_list(if_t ifp);
54 static inline enum lio_ifflags lio_get_new_flags(if_t ifp);
65 lio_change_dev_flags(if_t ifp) in lio_change_dev_flags()
96 lio_ioctl(if_t ifp, u_long cmd, caddr_t data) in lio_ioctl()
213 lio_set_tso4(if_t ifp) in lio_set_tso4()
[all …]
H A Dlio_ioctl.h37 int lio_ioctl(if_t ifp, u_long cmd, caddr_t data);
39 void lio_stop(if_t ifp);
41 int lio_set_mac(if_t ifp, uint8_t *p);
H A Dlio_rxtx.h82 int lio_mq_start_locked(if_t ifp, struct lio_instr_queue *iq);
83 int lio_mq_start(if_t ifp, struct mbuf *m);
84 void lio_qflush(if_t ifp);
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ethtool.c41 static void ipoib_get_drvinfo(if_t netdev, in ipoib_get_drvinfo()
47 static u32 ipoib_get_rx_csum(if_t dev) in ipoib_get_rx_csum()
54 static int ipoib_get_coalesce(if_t dev, in ipoib_get_coalesce()
67 static int ipoib_set_coalesce(if_t dev, in ipoib_set_coalesce()
110 static void ipoib_get_strings(if_t netdev, u32 stringset, u8 *data) in ipoib_get_strings()
119 static int ipoib_get_sset_count(if_t dev, int sset) in ipoib_get_sset_count()
129 static void ipoib_get_ethtool_stats(if_t dev, in ipoib_get_ethtool_stats()
158 void ipoib_set_ethtool_ops(if_t dev) in ipoib_set_ethtool_ops()
H A Dipoib_main.c90 static if_t ipoib_get_net_dev_by_params(
94 static void ipoib_start(if_t dev);
95 static int ipoib_ioctl(if_t ifp, u_long command, caddr_t data);
132 if_t dev = priv->dev; in ipoib_open()
173 if_t dev; in ipoib_init()
187 if_t dev = priv->dev; in ipoib_stop()
216 if_t ifp; in ipoib_propagate_ifnet_mtu()
270 ipoib_ioctl(if_t ifp, u_long command, caddr_t data) in ipoib_ioctl()
512 if_t dev = priv->dev; in path_rec_completion()
614 if_t dev = priv->dev; in path_rec_start()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_roce_gid_mgmt.c57 if_t ndev;
92 u8 port, union ib_gid *gid, if_t ndev) in update_gid()
120 if_t idev, void *cookie) in roce_gid_match_netdev()
122 if_t ndev = (if_t )cookie; in roce_gid_match_netdev()
130 if_t idev, void *cookie) in roce_gid_match_all()
139 u8 port, if_t idev) in roce_gid_enum_netdev_default()
158 if_t ndev;
212 if_t ndev, void *cookie) in roce_gid_update_addr_callback()
220 if_t ifp; in roce_gid_update_addr_callback()
330 roce_gid_queue_scan_event(if_t ndev) in roce_gid_queue_scan_event()
[all …]
H A Dcore_priv.h83 if_t idev, void *cookie);
86 if_t idev, void *cookie);
108 if_t ndev,
119 if_t ndev);
120 void ib_cache_gid_del_all_by_netdev(if_t ndev);
/freebsd/sys/ofed/include/rdma/
H A Dib_addr_freebsd.h33 static inline if_t
39 if_t ifp; in ip_ifp_find()
61 static inline if_t
67 if_t ifp; in ip6_ifp_find()
93 static inline if_t
97 if_t retval; in dev_get_by_index()
H A Dib_addr.h143 int rdma_copy_addr(struct rdma_dev_addr *dev_addr, if_t dev,
152 u8 *smac, if_t dev,
177 static inline u16 rdma_vlan_dev_vlan_id(if_t dev) in rdma_vlan_dev_vlan_id()
183 if (VLAN_TAG(__DECONST(if_t, dev), &tag) != 0) in rdma_vlan_dev_vlan_id()
241 if_t dev; in iboe_addr_get_sgid()
302 static inline int iboe_get_rate(if_t dev) in iboe_get_rate()
367 static inline if_t rdma_vlan_dev_real_dev(if_t dev) in rdma_vlan_dev_real_dev()
/freebsd/sys/compat/linsysfs/
H A Dlinsysfs_net.c56 if_t ifp;
88 if_t ifp; in linsysfs_if_addr()
117 if_t ifp; in linsysfs_if_flags()
136 if_t ifp; in linsysfs_if_ifindex()
155 if_t ifp; in linsysfs_if_mtu()
184 if_t ifp; in linsysfs_if_type()
204 if_t ifp; in linsysfs_if_visible()
225 linsysfs_net_addif(if_t ifp, void *arg) in linsysfs_net_addif()
274 linsysfs_net_delif(if_t ifp) in linsysfs_net_delif()
298 linsysfs_if_arrival(void *arg __unused, if_t ifp) in linsysfs_if_arrival()
[all …]
/freebsd/sys/dev/cxgbe/
H A Dt4_tracer.c90 static int tracer_ioctl(if_t, unsigned long, caddr_t);
91 static int tracer_transmit(if_t, struct mbuf *);
92 static void tracer_qflush(if_t);
93 static int tracer_media_change(if_t);
94 static void tracer_media_status(if_t, struct ifmediareq *);
140 if_t ifp; in t4_cloner_create()
198 t4_cloner_destroy(struct if_clone *ifc, if_t ifp) in t4_cloner_destroy()
409 if_t ifp; in t4_trace_pkt()
431 if_t ifp; in t5_trace_pkt()
458 tracer_ioctl(if_t ifp, unsigned long cmd, caddr_t data) in tracer_ioctl()
[all …]
/freebsd/sys/netipsec/
H A Dipsec_offload.h59 struct seclifetime *lft_c, if_t ifp, enum IF_SA_CNT_WHICH op,
66 if_t ifp, u_int drv_spi, uint64_t octets, uint64_t allocs);
68 if_t ifp, u_int drv_spi, uint64_t *octets, uint64_t *allocs);
117 struct seclifetime *lft_c, if_t ifp, enum IF_SA_CNT_WHICH op, in ipsec_accel_sa_lifetime_op()
120 int (*p)(struct secasvar *sav, struct seclifetime *lft_c, if_t ifp, in ipsec_accel_sa_lifetime_op()
194 void ipsec_accel_drv_sa_lifetime_update(struct secasvar *sav, if_t ifp,
197 if_t ifp, u_int drv_spi, uint64_t *octets, uint64_t *allocs);
/freebsd/sys/dev/le/
H A Dlance.c92 static void lance_start(if_t);
96 static int lance_mediachange(if_t);
97 static void lance_mediastatus(if_t, struct ifmediareq *);
98 static int lance_ioctl(if_t, u_long, caddr_t);
103 if_t ifp; in lance_config()
186 if_t ifp = sc->sc_ifp; in lance_attach()
202 if_t ifp = sc->sc_ifp; in lance_detach()
232 lance_start(if_t ifp) in lance_start()
244 if_t ifp = sc->sc_ifp; in lance_stop()
275 if_t ifp = sc->sc_ifp; in lance_init_locked()
[all …]
/freebsd/sys/dev/mlx4/mlx4_en/
H A Den.h395 if_t dev;
455 if_t pndev[MLX4_MAX_PORTS + 1];
546 if_t dev;
665 mlx4_netdev_priv(const if_t dev) in mlx4_netdev_priv()
719 if_t dev = cq->dev; in mlx4_en_cq_lock_poll()
788 void mlx4_en_destroy_netdev(if_t dev);
792 int mlx4_en_start_port(if_t dev);
793 void mlx4_en_stop_port(if_t dev);
809 u16 mlx4_en_select_queue(if_t dev, struct mbuf *mb);
812 int mlx4_en_transmit(if_t dev, struct mbuf *m);
[all …]
/freebsd/sys/dev/ntb/if_ntb/
H A Dif_ntb.c84 if_t ifp;
94 if_t ifp;
108 static int ntb_ioctl(if_t ifp, u_long command, caddr_t data);
109 static int ntb_transmit(if_t ifp, struct mbuf *m);
117 static void ntb_qflush(if_t ifp);
133 if_t ifp; in ntb_net_attach()
220 if_t ifp = sc->ifp; in ntb_net_init()
229 ntb_ioctl(if_t ifp, u_long command, caddr_t data) in ntb_ioctl()
316 if_t ifp = q->ifp; in ntb_transmit_locked()
351 ntb_transmit(if_t ifp, struct mbuf *m) in ntb_transmit()
[all …]
/freebsd/sys/arm/allwinner/
H A Dif_emac.c87 if_t emac_ifp;
116 static void emac_start_locked(if_t);
120 static int emac_ioctl(if_t, u_long, caddr_t);
129 static int emac_ifmedia_upd(if_t);
130 static void emac_ifmedia_sts(if_t, struct ifmediareq *);
230 if_t ifp; in emac_set_rx_mode()
290 if_t ifp; in emac_txeof()
310 if_t ifp; in emac_rxeof()
449 if_t ifp; in emac_watchdog()
500 if_t ifp; in emac_init_locked()
[all …]
/freebsd/sys/dev/netmap/
H A Dnetmap_kern.h114 struct netmap_adapter *netmap_getna(if_t ifp);
154 #define GEN_TX_MBUF_IFP(m) ((if_t)skb_shinfo(m)->destructor_arg)
299 unsigned nm_os_ifnet_mtu(if_t ifp);
304 void netmap_make_zombie(if_t);
305 void netmap_undo_zombie(if_t);
315 void nm_os_onattach(if_t);
316 void nm_os_ondetach(if_t);
317 void nm_os_onenter(if_t);
318 void nm_os_onexit(if_t);
326 void *nm_os_send_up(if_t, struct mbuf *m, struct mbuf *prev);
[all …]
/freebsd/sys/dev/firewire/
H A Dif_fwe.c70 static void fwe_start (if_t);
71 static int fwe_ioctl (if_t, u_long, caddr_t);
75 static void fwe_as_output (struct fwe_softc *, if_t);
99 fwe_poll(if_t ifp, enum poll_cmd cmd, int count) in fwe_poll()
138 if_t ifp; in fwe_attach()
208 if_t ifp = fwe->eth_softc.ifp; in fwe_stop()
246 if_t ifp; in fwe_detach()
272 if_t ifp = fwe->eth_softc.ifp; in fwe_init()
347 fwe_ioctl(if_t ifp, u_long cmd, caddr_t data) in fwe_ioctl()
419 if_t ifp; in fwe_output_callback()
[all …]
/freebsd/sys/dev/lge/
H A Dif_lge.c135 static void lge_start(if_t);
136 static void lge_start_locked(if_t);
137 static int lge_ioctl(if_t, u_long, caddr_t);
143 static int lge_ifmedia_upd(if_t);
144 static void lge_ifmedia_upd_locked(if_t);
145 static void lge_ifmedia_sts(if_t, struct ifmediareq *);
369 if_t ifp; in lge_setmulti()
450 if_t ifp = NULL; in lge_attach()
573 if_t ifp; in lge_detach()
852 if_t if in lge_rxeof()
[all...]
/freebsd/sys/dev/smc/
H A Dif_smc.c105 static void smc_start(if_t);
107 static int smc_ioctl(if_t, u_long, caddr_t);
110 static void smc_start_locked(if_t);
112 static int smc_mii_ifmedia_upd(if_t);
113 static void smc_mii_ifmedia_sts(if_t, struct ifmediareq *);
308 if_t ifp; in smc_attach()
498 smc_start(if_t ifp) in smc_start()
509 smc_start_locked(if_t ifp) in smc_start_locked()
585 if_t ifp; in smc_task_tx()
593 ifp = (if_t)context; in smc_task_tx()
[all …]
/freebsd/sys/netlink/route/
H A Diface.c120 get_operstate_ether(if_t ifp, struct if_state *pstate) in get_operstate_ether()
146 get_stats(struct nl_writer *nw, if_t ifp) in get_stats()
173 get_operstate(if_t ifp, struct if_state *pstate) in get_operstate()
195 get_hwaddr(struct nl_writer *nw, if_t ifp) in get_hwaddr()
206 ifp_flags_to_netlink(const if_t ifp) in ifp_flags_to_netlink()
290 dump_iface(struct nl_writer *nw, if_t ifp, const struct nlmsghdr *hdr, in dump_iface()
419 match_iface(if_t ifp, void *_arg) in match_iface()
435 dump_cb(if_t ifp, void *_arg) in dump_cb()
455 if_t ifp; in rtnl_handle_getlink()
536 if_t ifp; in rtnl_handle_dellink()
[all …]

12345678910>>...15