Home
last modified time | relevance | path

Searched defs:tun (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/net/
H A Dtun.c134 struct tun_struct __rcu *tun; member
160 struct tun_struct *tun; member
267 static void tun_napi_init(struct tun_struct *tun, struct tun_file *tfile, in tun_napi_init()
302 static inline bool tun_legacy_is_little_endian(struct tun_struct *tun) in tun_legacy_is_little_endian()
308 static long tun_get_vnet_be(struct tun_struct *tun, int __user *argp) in tun_get_vnet_be()
318 static long tun_set_vnet_be(struct tun_struct *tun, int __user *argp) in tun_set_vnet_be()
333 static inline bool tun_legacy_is_little_endian(struct tun_struct *tun) in tun_legacy_is_little_endian()
338 static long tun_get_vnet_be(struct tun_struct *tun, int __user *argp) in tun_get_vnet_be()
343 static long tun_set_vnet_be(struct tun_struct *tun, int __user *argp) in tun_set_vnet_be()
349 static inline bool tun_is_little_endian(struct tun_struct *tun) in tun_is_little_endian()
[all …]
/linux/tools/testing/selftests/net/
H A Dtun.c105 FIXTURE(tun) in FIXTURE() argument
111 FIXTURE_SETUP(tun) in FIXTURE_SETUP() argument
122 FIXTURE_TEARDOWN(tun) in FIXTURE_TEARDOWN() argument
130 TEST_F(tun, delete_detach_close) { in TEST_F() argument
136 TEST_F(tun, detach_delete_close) { in TEST_F() argument
141 TEST_F(tun, detach_close_delete) { in TEST_F() argument
148 TEST_F(tun, reattach_delete_close) { in TEST_F() argument
154 TEST_F(tun, reattach_close_delete) { in TEST_F() argument
/linux/drivers/net/ethernet/intel/libie/
H A Drx.c20 #define LIBIE_RX_PT(oip, ofrag, tun, tp, tefr, iprot, pl) { \ argument
43 #define LIBIE_RX_PT_IP_L3(oip, tun, teprot, tefr) \ argument
45 #define LIBIE_RX_PT_IP_L4(oip, tun, teprot, iprot) \ argument
48 #define LIBIE_RX_PT_IP_NOF(oip, tun, ver) \ argument
57 #define LIBIE_RX_PT_IP_TUN_VER(oip, tun, ver) \ argument
67 #define LIBIE_RX_PT_IP_TUN(oip, tun) \ argument
72 #define LIBIE_RX_PT_IP_GRE(oip, tun) \ argument
/linux/net/qrtr/
H A Dtun.c21 struct qrtr_tun *tun = container_of(ep, struct qrtr_tun, ep); in qrtr_tun_send() local
33 struct qrtr_tun *tun; in qrtr_tun_open() local
62 struct qrtr_tun *tun = filp->private_data; in qrtr_tun_read_iter() local
88 struct qrtr_tun *tun = filp->private_data; in qrtr_tun_write_iter() local
116 struct qrtr_tun *tun = filp->private_data; in qrtr_tun_poll() local
129 struct qrtr_tun *tun = filp->private_data; in qrtr_tun_release() local
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c275 ice_fdir_remap_entries(struct ice_fd_hw_prof *prof, int tun, int idx) in ice_fdir_remap_entries()
307 int tun, i; in ice_fdir_rem_adq_chnl() local
365 int tun; in ice_fdir_erase_flow_from_hw() local
400 int tun, i; in ice_fdir_rem_flow() local
440 int tun; in ice_fdir_replay_flows() local
633 enum ice_fltr_ptype flow, enum ice_fd_hw_seg tun) in ice_fdir_set_hw_fltr_rule()
1567 int tun; in ice_fdir_write_all_fltr() local
H A Dice_virtchnl_fdir.c477 ice_vc_fdir_rem_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, int tun) in ice_vc_fdir_rem_prof()
636 struct ice_flow_seg_info *seg, int tun) in ice_vc_fdir_write_flow_prof()
749 struct virtchnl_fdir_fltr_conf *conf, int tun) in ice_vc_fdir_config_input_set()
H A Dice_fdir.c859 u8 *pkt, bool frag, bool tun) in ice_fdir_get_gen_prgm_pkt()
H A Dice_main.c8528 int tun, status; in ice_add_vsi_to_fdir() local
/linux/drivers/media/tuners/
H A Dtuner-simple.c115 struct tunertype *tun; member
239 struct tunertype *tun = priv->tun; in simple_tuner_params() local
667 struct tunertype *tun; in simple_set_radio_freq() local
851 struct tunertype *tun = priv->tun; in simple_dvb_configure() local
/linux/include/net/tc_act/
H A Dtc_tunnel_key.h74 struct ip_tunnel_info *tun = tcf_tunnel_info(a); in tcf_tunnel_info_copy() local
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c14 struct ip_tunnel *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms4() local
22 struct ip6_tnl *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms6() local
H A Dspectrum_span.c415 struct ip_tunnel *tun = netdev_priv(to_dev); in mlxsw_sp_span_gretap4_route() local
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c287 const struct ip_tunnel_info *tun = act->tunnel; in nfp_fl_get_tun_from_act() local
H A Doffload.c856 struct nfp_fl_set_tun *tun; in nfp_fl_push_vlan_after_tun() local
H A Dconntrack.c1555 struct ip_tunnel_info *tun = act->tunnel; in nfp_fl_ct_add_flow() local
H A Dmain.h320 struct nfp_fl_tunnel_offloads tun; member
/linux/drivers/infiniband/hw/mlx4/
H A Dmlx4_ib.h270 struct mlx4_rcv_tunnel_hdr tun; member
505 struct mlx4_ib_demux_pv_ctx **tun; member
/linux/net/openvswitch/
H A Dactions.c1135 struct ovs_tunnel_info *tun = nla_data(a); in execute_set_action() local
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c2230 static void qed_pf_validate_tunn_mode(struct qed_tunn_update_type *tun, int *rc) in qed_pf_validate_tunn_mode()
2244 struct qed_tunnel_info *tun = &p_hwfn->cdev->tunnel; in qed_pf_validate_modify_tunn_config() local
H A Dqed_main.c380 struct qed_tunnel_info *tun = &cdev->tunnel; in qed_fill_dev_info() local
H A Dqed_l2.c2633 struct qed_tunnel_info *tun; in qed_tunn_configure() local
/linux/drivers/net/hyperv/
H A Dhyperv_net.h1482 u8 tun; member