/linux-master/net/bridge/ |
H A D | br_private.h | 172 __be64 tunnel_id; member in struct:br_tunnel_info
|
H A D | br_vlan_tunnel.c | 25 return vle->tinfo.tunnel_id != tunid; 30 .key_offset = offsetof(struct net_bridge_vlan, tinfo.tunnel_id), 38 __be64 tunnel_id) 40 return rhashtable_lookup_fast(tbl, &tunnel_id, 48 WRITE_ONCE(vlan->tinfo.tunnel_id, 0); 80 WRITE_ONCE(vlan->tinfo.tunnel_id, key); 189 __be64 tunnel_id; local 195 tunnel_id = READ_ONCE(vlan->tinfo.tunnel_id); 196 if (!tunnel_id || unlikel 37 br_vlan_tunnel_lookup(struct rhashtable *tbl, __be64 tunnel_id) argument [all...] |
H A D | br_vlan_options.c | 14 __be32 tid = tunnel_id_to_key32(v->tinfo.tunnel_id);
|
/linux-master/include/rdma/ |
H A D | ib_verbs.h | 1986 __be32 tunnel_id; member in struct:ib_flow_tunnel_filter 1990 * the tunnel_id from val has the vni value
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 2799 if ((ntohl(ib_spec->tunnel.mask.tunnel_id)) >= BIT(24) || 2800 (ntohl(ib_spec->tunnel.val.tunnel_id)) >= BIT(24))
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 2196 * this struct exposes the *key*\ **->tunnel_id**, which is 6257 __u32 tunnel_id; member in struct:bpf_tunnel_key
|
/linux-master/net/l2tp/ |
H A D | l2tp_ppp.c | 21 * attaches it to a bound UDP socket with local tunnel_id / session_id and 22 * peer tunnel_id / session_id set. Data can then be sent or received using 44 * sax.pppol2tp.s_tunnel = tunnel_id; 556 u32 tunnel_id; member in struct:l2tp_connect_info 575 info->tunnel_id = sa_v2in4->pppol2tp.s_tunnel; 591 info->tunnel_id = sa_v3in4->pppol2tp.s_tunnel; 607 info->tunnel_id = sa_v2in6->pppol2tp.s_tunnel; 623 info->tunnel_id = sa_v3in6->pppol2tp.s_tunnel; 662 tunnel = l2tp_tunnel_get(net, info->tunnel_id); 682 info->tunnel_id, [all...] |
H A D | l2tp_ip.c | 46 __be32 raddr, int dif, u32 tunnel_id) 69 if (l2tp->conn_id != tunnel_id) 118 u32 tunnel_id; local 160 /* Get the tunnel_id from the L2TP header */ 167 tunnel_id = ntohl(*(__be32 *)&skb->data[4]); 172 tunnel_id); 45 __l2tp_ip_bind_lookup(const struct net *net, __be32 laddr, __be32 raddr, int dif, u32 tunnel_id) argument
|
H A D | l2tp_ip6.c | 54 int dif, u32 tunnel_id) 79 if (l2tp->conn_id != tunnel_id) 128 u32 tunnel_id; local 170 /* Get the tunnel_id from the L2TP header */ 177 tunnel_id = ntohl(*(__be32 *)&skb->data[4]); 182 inet6_iif(skb), tunnel_id); 51 __l2tp_ip6_bind_lookup(const struct net *net, const struct in6_addr *laddr, const struct in6_addr *raddr, int dif, u32 tunnel_id) argument
|
H A D | l2tp_core.c | 205 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id) argument 211 tunnel = idr_find(&pn->l2tp_tunnel_idr, tunnel_id); 225 unsigned long tunnel_id, tmp; local 230 idr_for_each_entry_ul(&pn->l2tp_tunnel_idr, tunnel, tmp, tunnel_id) { 651 tunnel->name, tunnel->tunnel_id, 799 u32 tunnel_id, session_id; local 846 tunnel_id = ntohs(*(__be16 *)ptr); 852 tunnel_id = tunnel->tunnel_id; 865 tunnel->name, tunnel_id, session_i 934 u32 tunnel_id = tunnel->peer_tunnel_id; local 1274 l2tp_tunnel_sock_create(struct net *net, u32 tunnel_id, u32 peer_tunnel_id, struct l2tp_tunnel_cfg *cfg, struct socket **sockp) argument 1388 l2tp_tunnel_create(int fd, int version, u32 tunnel_id, u32 peer_tunnel_id, struct l2tp_tunnel_cfg *cfg, struct l2tp_tunnel **tunnelp) argument 1458 u32 tunnel_id = tunnel->tunnel_id; local 1660 unsigned long tunnel_id, tmp; local [all...] |
H A D | l2tp_core.h | 169 u32 tunnel_id; member in struct:l2tp_tunnel 225 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id); 239 int l2tp_tunnel_create(int fd, int version, u32 tunnel_id,
|
/linux-master/net/core/ |
H A D | filter.c | 4683 to->tunnel_id = be64_to_cpu(info->key.tun_id); 4810 info->key.tun_id = cpu_to_be64(from->tunnel_id);
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 2196 * this struct exposes the *key*\ **->tunnel_id**, which is 6257 __u32 tunnel_id; member in struct:bpf_tunnel_key
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 2212 flow->attr->tunnel_id = value; 2226 u32 enc_opts_id = flow->attr->tunnel_id & ENC_OPTS_BITS_MASK; 2227 u32 tun_id = flow->attr->tunnel_id >> ENC_OPTS_BITS; 5462 u32 tunnel_id) 5474 enc_opts_id = tunnel_id & ENC_OPTS_BITS_MASK; 5475 tun_id = tunnel_id >> ENC_OPTS_BITS; 5556 u32 tunnel_id, struct mlx5e_tc_update_priv *tc_priv) 5585 return mlx5e_tc_restore_tunnel(priv, skb, tc_priv, tunnel_id); 5594 if (!mlx5e_tc_restore_tunnel(priv, skb, tc_priv, mapped_obj->sample.tunnel_id)) { 5605 u32 tunnel_id) 5460 mlx5e_tc_restore_tunnel(struct mlx5e_priv *priv, struct sk_buff *skb, struct mlx5e_tc_update_priv *tc_priv, u32 tunnel_id) argument 5554 mlx5e_tc_restore_skb_tc_meta(struct sk_buff *skb, struct mlx5_tc_ct_priv *ct_priv, struct mlx5_mapped_obj *mapped_obj, u32 zone_restore_id, u32 tunnel_id, struct mlx5e_tc_update_priv *tc_priv) argument 5602 mlx5e_tc_restore_skb_int_port(struct mlx5e_priv *priv, struct sk_buff *skb, struct mlx5_mapped_obj *mapped_obj, struct mlx5e_tc_update_priv *tc_priv, u32 tunnel_id) argument 5631 mlx5e_tc_update_skb(struct mlx5_cqe64 *cqe, struct sk_buff *skb, struct mapping_ctx *mapping_ctx, u32 mapped_obj_id, struct mlx5_tc_ct_priv *ct_priv, u32 zone_restore_id, u32 tunnel_id, struct mlx5e_tc_update_priv *tc_priv) argument [all...] |
H A D | eswitch.h | 67 u32 tunnel_id; member in struct:mlx5_mapped_obj::__anon1481::__anon1482
|
H A D | en_tc.h | 92 int tunnel_id; /* mapped tunnel id */ member in struct:mlx5_flow_attr 390 u32 zone_restore_id, u32 tunnel_id,
|
/linux-master/net/ipv4/ |
H A D | udp_tunnel_core.c | 186 __be16 flags, __be64 tunnel_id, int md_size) 192 tun_dst = ip_tun_rx_dst(skb, flags, tunnel_id, md_size); 194 tun_dst = ipv6_tun_rx_dst(skb, flags, tunnel_id, md_size); 185 udp_tun_rx_dst(struct sk_buff *skb, unsigned short family, __be16 flags, __be64 tunnel_id, int md_size) argument
|
/linux-master/tools/testing/selftests/net/ |
H A D | l2tp.sh | 142 ip -netns $host_1 l2tp add tunnel tunnel_id 1041 peer_tunnel_id 1042 \ 144 ip -netns $host_1 l2tp add session name l2tp4 tunnel_id 1041 \ 152 ip -netns $host_2 l2tp add tunnel tunnel_id 1042 peer_tunnel_id 1041 \ 154 ip -netns $host_2 l2tp add session name l2tp4 tunnel_id 1042 \ 171 ip -netns $host_1 l2tp add tunnel tunnel_id 1061 peer_tunnel_id 1062 \ 173 ip -netns $host_1 l2tp add session name l2tp6 tunnel_id 1061 \ 181 ip -netns $host_2 l2tp add tunnel tunnel_id 1062 peer_tunnel_id 1061 \ 183 ip -netns $host_2 l2tp add session name l2tp6 tunnel_id 1062 \
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tunnel_kern.c | 53 key.tunnel_id = 2; 100 bpf_printk("key %d remote ip 0x%x\n", key.tunnel_id, key.remote_ipv4); 112 key.tunnel_id = 2; 142 key.tunnel_id, key.remote_ipv6[3], key.tunnel_label); 156 key.tunnel_id = 2; 210 key.tunnel_id, key.remote_ipv4, md.version); 235 key.tunnel_id = 2; 291 key.tunnel_id, key.remote_ipv4, md.version); 325 key.tunnel_id = 2; 364 key.tunnel_id [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | tc.c | 703 u32 reg_c0, reg_c1, zone_restore_id, tunnel_id; local 726 tunnel_id = (reg_c1 >> ESW_TUN_OFFSET) & TUNNEL_ID_MASK; 733 if (!(tunnel_id >> ESW_TUN_OPTS_BITS)) { 737 mapped_id = tunnel_id & ESW_IPSEC_RX_MAPPED_ID_MASK; 745 zone_restore_id, tunnel_id, &tc_priv))
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_hsi.h | 7880 __be32 tunnel_id; member in struct:hwrm_cfa_decap_filter_alloc_input
|
H A D | bnxt_tc.c | 813 /* tunnel_id is wrongly defined in hsi defn. as __le32 */ 814 req->tunnel_id = tunnel_id_to_key32(tun_key->tun_id);
|
/linux-master/include/net/ |
H A D | udp_tunnel.h | 182 __be16 flags, __be64 tunnel_id,
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | fs.c | 133 #define LAST_TUNNEL_FIELD tunnel_id 492 ntohl(ib_spec->tunnel.mask.tunnel_id)); 494 ntohl(ib_spec->tunnel.val.tunnel_id));
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | sample.c | 524 restore_obj.sample.tunnel_id = attr->tunnel_id;
|