/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 160 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 D | verifier_ctx_sk_msg.c | 104 : __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 D | verifier_cgroup_skb.c | 121 __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 D | ctx_sk_lookup.c | 156 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 D | ctx_skb.c | 151 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 D | tcp_synrto_kern.c | 53 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 D | tcp_rwnd_kern.c | 53 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 D | tcp_basertt_kern.c | 43 skops->local_ip6[0] == skops->remote_ip6[0] && in bpf_basertt() 44 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_basertt()
|
H A D | tcp_cong_kern.c | 51 skops->local_ip6[0] == skops->remote_ip6[0] && in bpf_cong() 52 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_cong()
|
H A D | tcp_clamp_kern.c | 53 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 D | ip6_udp_tunnel.c | 39 memcpy(&udp6_addr.sin6_addr, &cfg->local_ip6, in udp_sock_create6()
|
/openbmc/linux/net/l2tp/ |
H A D | l2tp_core.c | 1300 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 D | l2tp_core.h | 140 struct in6_addr *local_ip6; member
|
H A D | l2tp_netlink.c | 169 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 D | bpf.h | 6124 __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 D | bpf.h | 6121 __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 D | udp_tunnel.h | 20 struct in6_addr local_ip6; member
|
/openbmc/linux/net/tipc/ |
H A D | udp_media.c | 758 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 D | local_object.c | 181 udp_conf.local_ip6 = srx->transport.sin6.sin6_addr; in rxrpc_open_socket()
|
/openbmc/linux/net/core/ |
H A D | filter.c | 8529 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 D | fou_core.c | 529 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 D | socket.c | 369 .local_ip6 = IN6ADDR_ANY_INIT, in wg_socket_init()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sk_lookup.c | 265 local = &ctx->local_ip6[0]; in fill_sk_lookup_ctx()
|
/openbmc/linux/net/sctp/ |
H A D | protocol.c | 889 udp_conf.local_ip6 = in6addr_any; in sctp_udp_sock_start()
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 1428 ctx.v6.daddr = (struct in6_addr *)user_ctx->local_ip6; in bpf_prog_test_run_sk_lookup()
|