Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Dtun.c134 struct tun_struct __rcu *tun; member
162 struct tun_struct *tun; member
270 static void tun_napi_init(struct tun_struct *tun, struct tun_file *tfile, in tun_napi_init() argument
320 static struct tun_flow_entry *tun_flow_create(struct tun_struct *tun, in tun_flow_create() argument
341 tun_flow_delete(struct tun_struct * tun,struct tun_flow_entry * e) tun_flow_delete() argument
350 tun_flow_flush(struct tun_struct * tun) tun_flow_flush() argument
365 tun_flow_delete_by_queue(struct tun_struct * tun,u16 queue_index) tun_flow_delete_by_queue() argument
384 struct tun_struct *tun = timer_container_of(tun, t, flow_gc_timer); tun_flow_cleanup() local
414 tun_flow_update(struct tun_struct * tun,u32 rxhash,struct tun_file * tfile) tun_flow_update() argument
464 tun_automq_select_queue(struct tun_struct * tun,struct sk_buff * skb) tun_automq_select_queue() argument
483 tun_ebpf_select_queue(struct tun_struct * tun,struct sk_buff * skb) tun_ebpf_select_queue() argument
503 struct tun_struct *tun = netdev_priv(dev); tun_select_queue() local
516 tun_not_capable(struct tun_struct * tun) tun_not_capable() argument
526 tun_set_real_num_queues(struct tun_struct * tun) tun_set_real_num_queues() argument
532 tun_disable_queue(struct tun_struct * tun,struct tun_file * tfile) tun_disable_queue() argument
541 struct tun_struct *tun = tfile->detached; tun_enable_queue() local
577 struct tun_struct *tun; __tun_detach() local
647 struct tun_struct *tun; tun_detach() local
664 struct tun_struct *tun = netdev_priv(dev); tun_detach_all() local
706 tun_force_wake_queue(struct tun_struct * tun,struct tun_file * tfile) tun_force_wake_queue() argument
725 tun_attach(struct tun_struct * tun,struct file * file,bool skip_filter,bool napi,bool napi_frags,bool publish_tun) tun_attach() argument
825 struct tun_struct *tun; tun_get() local
836 tun_put(struct tun_struct * tun) tun_put() argument
951 struct tun_struct *tun = netdev_priv(dev); tun_net_init() local
1005 struct tun_struct *tun = netdev_priv(dev); tun_net_close() local
1028 tun_automq_xmit(struct tun_struct * tun,struct sk_buff * skb) tun_automq_xmit() argument
1046 run_ebpf_filter(struct tun_struct * tun,struct sk_buff * skb,int len) run_ebpf_filter() argument
1062 struct tun_struct *tun = netdev_priv(dev); tun_net_xmit() local
1181 struct tun_struct *tun = netdev_priv(dev); tun_net_fix_features() local
1188 struct tun_struct *tun = netdev_priv(dev); tun_set_headroom() local
1204 struct tun_struct *tun = netdev_priv(dev); tun_net_get_stats64() local
1215 struct tun_struct *tun = netdev_priv(dev); tun_xdp_set() local
1255 struct tun_struct *tun = netdev_priv(dev); tun_net_change_carrier() local
1291 struct tun_struct *tun = netdev_priv(dev); tun_xdp_xmit() local
1369 tun_flow_init(struct tun_struct * tun) tun_flow_init() argument
1382 tun_flow_uninit(struct tun_struct * tun) tun_flow_uninit() argument
1394 struct tun_struct *tun = netdev_priv(dev); tun_net_initialize() local
1432 tun_sock_writeable(struct tun_struct * tun,struct tun_file * tfile) tun_sock_writeable() argument
1445 struct tun_struct *tun = tun_get(tfile); tun_chr_poll() local
1560 tun_rx_batched(struct tun_struct * tun,struct tun_file * tfile,struct sk_buff * skb,int more) tun_rx_batched() argument
1600 tun_can_build_skb(struct tun_struct * tun,struct tun_file * tfile,int len,int noblock,bool zerocopy) tun_can_build_skb() argument
1644 tun_xdp_act(struct tun_struct * tun,struct bpf_prog * xdp_prog,struct xdp_buff * xdp,u32 act) tun_xdp_act() argument
1682 tun_build_skb(struct tun_struct * tun,struct tun_file * tfile,struct iov_iter * from,struct virtio_net_hdr * hdr,int len,int * skb_xdp) tun_build_skb() argument
1779 tun_get_user(struct tun_struct * tun,struct tun_file * tfile,void * msg_control,struct iov_iter * from,int noblock,bool more) tun_get_user() argument
2081 struct tun_struct *tun = tun_get(tfile); tun_chr_write_iter() local
2097 tun_put_user_xdp(struct tun_struct * tun,struct tun_file * tfile,struct xdp_frame * xdp_frame,struct iov_iter * iter) tun_put_user_xdp() argument
2125 tun_put_user(struct tun_struct * tun,struct tun_file * tfile,struct sk_buff * skb,struct iov_iter * iter) tun_put_user() argument
2210 __tun_wake_queue(struct tun_struct * tun,struct tun_file * tfile,int consumed) __tun_wake_queue() argument
2243 tun_ring_consume(struct tun_struct * tun,struct tun_file * tfile) tun_ring_consume() argument
2256 tun_ring_recv(struct tun_struct * tun,struct tun_file * tfile,int noblock,int * err) tun_ring_recv() argument
2298 tun_do_read(struct tun_struct * tun,struct tun_file * tfile,struct iov_iter * to,int noblock,void * ptr) tun_do_read() argument
2339 struct tun_struct *tun = tun_get(tfile); tun_chr_read_iter() local
2365 __tun_set_ebpf(struct tun_struct * tun,struct tun_prog __rcu ** prog_p,struct bpf_prog * prog) __tun_set_ebpf() argument
2392 struct tun_struct *tun = netdev_priv(dev); tun_free_netdev() local
2404 struct tun_struct *tun = netdev_priv(dev); tun_setup() local
2447 const struct tun_struct *tun = netdev_priv(dev); tun_fill_info() local
2521 tun_xdp_one(struct tun_struct * tun,struct tun_file * tfile,struct xdp_buff * xdp,int * flush,struct tun_page * tpage) tun_xdp_one() argument
2661 struct tun_struct *tun = tun_get(tfile); tun_sendmsg() local
2716 struct tun_struct *tun = tun_get(tfile); tun_recvmsg() local
2767 struct tun_struct *tun; tun_peek_len() local
2793 tun_flags(struct tun_struct * tun) tun_flags() argument
2801 struct tun_struct *tun = netdev_priv(to_net_dev(dev)); tun_flags_show() local
2808 struct tun_struct *tun = netdev_priv(to_net_dev(dev)); owner_show() local
2818 struct tun_struct *tun = netdev_priv(to_net_dev(dev)); group_show() local
2842 struct tun_struct *tun; tun_set_iff() local
2984 tun_get_iff(struct tun_struct * tun,struct ifreq * ifr) tun_get_iff() argument
2996 set_offload(struct tun_struct * tun,unsigned long arg) set_offload() argument
3050 tun_detach_filter(struct tun_struct * tun,int n) tun_detach_filter() argument
3065 tun_attach_filter(struct tun_struct * tun) tun_attach_filter() argument
3085 tun_set_sndbuf(struct tun_struct * tun) tun_set_sndbuf() argument
3099 struct tun_struct *tun; tun_set_queue() local
3132 tun_set_ebpf(struct tun_struct * tun,struct tun_prog __rcu ** prog_p,void __user * data) tun_set_ebpf() argument
3196 struct tun_struct *tun; __tun_chr_ioctl() local
3596 struct tun_struct *tun; tun_chr_show_fdinfo() local
3655 struct tun_struct *tun = netdev_priv(dev); tun_get_link_ksettings() local
3664 struct tun_struct *tun = netdev_priv(dev); tun_set_link_ksettings() local
3672 struct tun_struct *tun = netdev_priv(dev); tun_get_drvinfo() local
3689 struct tun_struct *tun = netdev_priv(dev); tun_get_msglevel() local
3696 struct tun_struct *tun = netdev_priv(dev); tun_set_msglevel() local
3706 struct tun_struct *tun = netdev_priv(dev); tun_get_coalesce() local
3718 struct tun_struct *tun = netdev_priv(dev); tun_set_coalesce() local
3731 struct tun_struct *tun = netdev_priv(dev); tun_get_channels() local
3751 tun_queue_resize(struct tun_struct * tun) tun_queue_resize() argument
3789 struct tun_struct *tun = netdev_priv(dev); tun_device_event() local
3893 struct tun_struct *tun; tun_wake_queue() local
[all...]
/linux/drivers/net/ethernet/intel/libie/
H A Drx.c23 #define LIBIE_RX_PT(oip, ofrag, tun, tp, tefr, iprot, pl) { \ argument
46 #define LIBIE_RX_PT_IP_L3(oip, tun, teprot, tefr) \ argument
48 #define LIBIE_RX_PT_IP_L4(oip, tun, teprot, iprot) \ argument
51 #define LIBIE_RX_PT_IP_NOF(oip, tun, ver) \ argument
60 #define LIBIE_RX_PT_IP_TUN_VER(oip, tun, ver) \ argument
70 #define LIBIE_RX_PT_IP_TUN(oip, tun) \ argument
75 #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/tools/testing/selftests/net/
H A Dtun.c483 FIXTURE(tun) FIXTURE() argument
489 FIXTURE_SETUP(tun) FIXTURE_SETUP() argument
500 FIXTURE_TEARDOWN(tun) FIXTURE_TEARDOWN() argument
508 TEST_F(tun,delete_detach_close) TEST_F() argument
515 TEST_F(tun,detach_delete_close) TEST_F() argument
521 TEST_F(tun,detach_close_delete) TEST_F() argument
529 TEST_F(tun,reattach_delete_close) TEST_F() argument
536 TEST_F(tun,reattach_close_delete) TEST_F() argument
[all...]
/linux/tools/testing/selftests/drivers/net/hw/
H A Dtso.py137 def test_builder(name, cfg, outer_ipver, feature, tun=None, inner_ipver=None): argument
/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/net/netfilter/
H A Dnf_flow_table_path.c91 struct flow_offload_tunnel tun; global() member
[all...]
H A Dnf_flow_table_ip.c158 } tun; member
/linux/drivers/net/ethernet/intel/ice/virt/
H A Dfdir.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()
/linux/include/net/netfilter/
H A Dnf_flow_table.h146 struct flow_offload_tunnel tun; member
227 struct flow_offload_tunnel tun; member
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c1742 const struct ethtool_tunable *tun, in fbnic_get_tunable()
1761 const struct ethtool_tunable *tun, in fbnic_set_tunable()
/linux/drivers/net/ethernet/netronome/nfp/flower/
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/net/openvswitch/
H A Dactions.c1025 struct ovs_tunnel_info *tun = nla_data(a); 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
/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c8536 int tun, status; in ice_add_vsi_to_fdir() local
/linux/drivers/net/hyperv/
H A Dhyperv_net.h1504 u8 tun; member
/linux/include/linux/
H A Dnetdevice.h913 } tun; global() member