Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c160 if (ctx->local_ip6[0] != DST_IP6[0] || in redir_ip6()
161 ctx->local_ip6[1] != DST_IP6[1] || in redir_ip6()
163 ctx->local_ip6[3] != DST_IP6[3]) in redir_ip6()
548 if (LSB(ctx->local_ip6[0], 0) != 0 || LSB(ctx->local_ip6[0], 1) != 0 || in ctx_narrow_access()
549 LSB(ctx->local_ip6[0], 2) != 0 || LSB(ctx->local_ip6[0], 3) != 0 || in ctx_narrow_access()
550 LSB(ctx->local_ip6[1], 0) != 0 || LSB(ctx->local_ip6[1], 1) != 0 || in ctx_narrow_access()
551 LSB(ctx->local_ip6[1], 2) != 0 || LSB(ctx->local_ip6[1], 3) != 0 || in ctx_narrow_access()
552 LSB(ctx->local_ip6[2], 0) != 0 || LSB(ctx->local_ip6[2], 1) != 0 || in ctx_narrow_access()
553 LSB(ctx->local_ip6[2], 2) != 0 || LSB(ctx->local_ip6[2], 3) != 0 || in ctx_narrow_access()
554 LSB(ctx->local_ip6[3], 0) != 0 || LSB(ctx->local_ip6[3], 1) != 0 || in ctx_narrow_access()
[all …]
H A Dverifier_ctx_sk_msg.c104 : __imm_const(sk_msg_md_local_ip6_0, offsetof(struct sk_msg_md, local_ip6[0])), in local_ip6_in_sk_msg()
105 __imm_const(sk_msg_md_local_ip6_1, offsetof(struct sk_msg_md, local_ip6[1])), in local_ip6_in_sk_msg()
106 __imm_const(sk_msg_md_local_ip6_2, offsetof(struct sk_msg_md, local_ip6[2])), in local_ip6_in_sk_msg()
107 __imm_const(sk_msg_md_local_ip6_3, offsetof(struct sk_msg_md, local_ip6[3])) in local_ip6_in_sk_msg()
H A Dverifier_cgroup_skb.c121 __imm_const(__sk_buff_local_ip6_0, offsetof(struct __sk_buff, local_ip6[0])), in test_4_for_cgroup_skb()
122 __imm_const(__sk_buff_local_ip6_1, offsetof(struct __sk_buff, local_ip6[1])), in test_4_for_cgroup_skb()
123 __imm_const(__sk_buff_local_ip6_2, offsetof(struct __sk_buff, local_ip6[2])), in test_4_for_cgroup_skb()
124 __imm_const(__sk_buff_local_ip6_3, offsetof(struct __sk_buff, local_ip6[3])), in test_4_for_cgroup_skb()
/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Dctx_sk_lookup.c156 offsetof(struct bpf_sk_lookup, local_ip6)),
158 offsetof(struct bpf_sk_lookup, local_ip6) + 1),
160 offsetof(struct bpf_sk_lookup, local_ip6) + 2),
162 offsetof(struct bpf_sk_lookup, local_ip6) + 3),
164 offsetof(struct bpf_sk_lookup, local_ip6) + 4),
166 offsetof(struct bpf_sk_lookup, local_ip6) + 5),
168 offsetof(struct bpf_sk_lookup, local_ip6) + 6),
170 offsetof(struct bpf_sk_lookup, local_ip6) + 7),
189 offsetof(struct bpf_sk_lookup, local_ip6)),
206 offsetof(struct bpf_sk_lookup, local_ip6)),
[all …]
H A Dctx_skb.c151 offsetof(struct __sk_buff, local_ip6)),
227 offsetof(struct __sk_buff, local_ip6[0])),
229 offsetof(struct __sk_buff, local_ip6[1])),
231 offsetof(struct __sk_buff, local_ip6[2])),
233 offsetof(struct __sk_buff, local_ip6[3])),
/openbmc/linux/samples/bpf/
H A Dtcp_synrto_kern.c53 if (skops->local_ip6[0] == skops->remote_ip6[0] && in bpf_synrto()
54 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_synrto()
H A Dtcp_rwnd_kern.c53 if (skops->local_ip6[0] != skops->remote_ip6[0] || in bpf_rwnd()
54 (bpf_ntohl(skops->local_ip6[1]) & 0xfffff000) != in bpf_rwnd()
H A Dtcp_basertt_kern.c43 skops->local_ip6[0] == skops->remote_ip6[0] && in bpf_basertt()
44 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_basertt()
H A Dtcp_cong_kern.c51 skops->local_ip6[0] == skops->remote_ip6[0] && in bpf_cong()
52 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_cong()
H A Dtcp_clamp_kern.c53 skops->local_ip6[0] == skops->remote_ip6[0] && in bpf_clamp()
54 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_clamp()
/openbmc/linux/net/ipv6/
H A Dip6_udp_tunnel.c39 memcpy(&udp6_addr.sin6_addr, &cfg->local_ip6, in udp_sock_create6()
/openbmc/linux/net/l2tp/
H A Dl2tp_core.c1300 if (cfg->local_ip6 && cfg->peer_ip6) { in l2tp_tunnel_sock_create()
1302 memcpy(&udp_conf.local_ip6, cfg->local_ip6, in l2tp_tunnel_sock_create()
1303 sizeof(udp_conf.local_ip6)); in l2tp_tunnel_sock_create()
1330 if (cfg->local_ip6 && cfg->peer_ip6) { in l2tp_tunnel_sock_create()
1339 memcpy(&ip6_addr.l2tp_addr, cfg->local_ip6, in l2tp_tunnel_sock_create()
H A Dl2tp_core.h140 struct in6_addr *local_ip6; member
H A Dl2tp_netlink.c169 cfg->local_ip6 = nla_data(attrs[L2TP_ATTR_IP6_SADDR]); in l2tp_nl_cmd_tunnel_create_get_addr()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h6124 __u32 local_ip6[4]; /* Stored in network byte order */ member
6372 __u32 local_ip6[4]; /* Stored in network byte order */ member
6637 __u32 local_ip6[4]; /* Stored in network byte order */ member
7226 __u32 local_ip6[4]; /* Network byte order */ member
/openbmc/linux/include/uapi/linux/
H A Dbpf.h6121 __u32 local_ip6[4]; /* Stored in network byte order */ member
6369 __u32 local_ip6[4]; /* Stored in network byte order */ member
6634 __u32 local_ip6[4]; /* Stored in network byte order */ member
7223 __u32 local_ip6[4]; /* Network byte order */ member
/openbmc/linux/include/net/
H A Dudp_tunnel.h20 struct in6_addr local_ip6; member
/openbmc/linux/net/tipc/
H A Dudp_media.c758 udp_conf.local_ip6 = in6addr_any; in tipc_udp_enable()
760 udp_conf.local_ip6 = local.ipv6; in tipc_udp_enable()
/openbmc/linux/net/rxrpc/
H A Dlocal_object.c181 udp_conf.local_ip6 = srx->transport.sin6.sin6_addr; in rxrpc_open_socket()
/openbmc/linux/net/core/
H A Dfilter.c8529 case bpf_ctx_range_till(struct __sk_buff, local_ip6[0], local_ip6[3]): in bpf_skb_is_valid_access()
9275 case bpf_ctx_range_till(struct sk_msg_md, local_ip6[0], local_ip6[3]): in sk_msg_is_valid_access()
9724 case offsetof(struct __sk_buff, local_ip6[0]) ... in bpf_convert_ctx_access()
9725 offsetof(struct __sk_buff, local_ip6[3]): in bpf_convert_ctx_access()
9731 off -= offsetof(struct __sk_buff, local_ip6[0]); in bpf_convert_ctx_access()
10472 offsetof(struct bpf_sock_ops, local_ip6[3]): in sock_ops_convert_ctx_access()
10861 case offsetof(struct sk_msg_md, local_ip6[0]) ... in sk_msg_convert_ctx_access()
10862 offsetof(struct sk_msg_md, local_ip6[3]): in sk_msg_convert_ctx_access()
10868 off -= offsetof(struct sk_msg_md, local_ip6[0]); in sk_msg_convert_ctx_access()
11478 case bpf_ctx_range_till(struct bpf_sk_lookup, local_ip6[0], local_ip6[3]): in sk_lookup_is_valid_access()
[all …]
/openbmc/linux/net/ipv4/
H A Dfou_core.c529 if (ipv6_addr_cmp(&sk->sk_v6_rcv_saddr, &udp_cfg->local_ip6) || in fou_cfg_cmp()
722 cfg->udp_config.local_ip6 = nla_get_in6_addr(attr); in parse_nl_config()
/openbmc/linux/drivers/net/wireguard/
H A Dsocket.c369 .local_ip6 = IN6ADDR_ANY_INIT, in wg_socket_init()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsk_lookup.c265 local = &ctx->local_ip6[0]; in fill_sk_lookup_ctx()
/openbmc/linux/net/sctp/
H A Dprotocol.c889 udp_conf.local_ip6 = in6addr_any; in sctp_udp_sock_start()
/openbmc/linux/net/bpf/
H A Dtest_run.c1428 ctx.v6.daddr = (struct in6_addr *)user_ctx->local_ip6; in bpf_prog_test_run_sk_lookup()