/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
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() 162 ctx->local_ip6[2] != DST_IP6[2] || in redir_ip6() 163 ctx->local_ip6[3] != DST_IP6[3]) in redir_ip6() 506 if (LSB(ctx->local_ip6[0], 0) != ((DST_IP6[0] >> 0) & 0xff) || in ctx_narrow_access() 507 LSB(ctx->local_ip6[0], 1) != ((DST_IP6[0] >> 8) & 0xff) || in ctx_narrow_access() 508 LSB(ctx->local_ip6[0], 2) != ((DST_IP6[0] >> 16) & 0xff) || in ctx_narrow_access() 509 LSB(ctx->local_ip6[0], 3) != ((DST_IP6[0] >> 24) & 0xff) || in ctx_narrow_access() 510 LSB(ctx->local_ip6[1], 0) != ((DST_IP6[1] >> 0) & 0xff) || in ctx_narrow_access() 511 LSB(ctx->local_ip6[1], 1) != ((DST_IP6[1] >> 8) & 0xff) || in ctx_narrow_access() [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/verifier/ |
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), 172 offsetof(struct bpf_sk_lookup, local_ip6) + 8), 174 offsetof(struct bpf_sk_lookup, local_ip6) + 9), [all …]
|
D | ctx_sk_msg.c | 71 offsetof(struct sk_msg_md, local_ip6[0])), 73 offsetof(struct sk_msg_md, local_ip6[1])), 75 offsetof(struct sk_msg_md, local_ip6[2])), 77 offsetof(struct sk_msg_md, local_ip6[3])),
|
D | cgroup_skb.c | 106 offsetof(struct __sk_buff, local_ip6[0])), 108 offsetof(struct __sk_buff, local_ip6[1])), 110 offsetof(struct __sk_buff, local_ip6[2])), 112 offsetof(struct __sk_buff, local_ip6[3])),
|
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])),
|
/Linux-v6.1/samples/bpf/ |
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()
|
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()
|
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()
|
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()
|
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()
|
/Linux-v6.1/net/l2tp/ |
D | l2tp_core.c | 1288 if (cfg->local_ip6 && cfg->peer_ip6) { in l2tp_tunnel_sock_create() 1290 memcpy(&udp_conf.local_ip6, cfg->local_ip6, in l2tp_tunnel_sock_create() 1291 sizeof(udp_conf.local_ip6)); in l2tp_tunnel_sock_create() 1318 if (cfg->local_ip6 && cfg->peer_ip6) { in l2tp_tunnel_sock_create() 1327 memcpy(&ip6_addr.l2tp_addr, cfg->local_ip6, in l2tp_tunnel_sock_create()
|
D | l2tp_core.h | 140 struct in6_addr *local_ip6; member
|
D | l2tp_netlink.c | 169 cfg->local_ip6 = nla_data(attrs[L2TP_ATTR_IP6_SADDR]); in l2tp_nl_cmd_tunnel_create_get_addr()
|
/Linux-v6.1/net/ipv6/ |
D | ip6_udp_tunnel.c | 39 memcpy(&udp6_addr.sin6_addr, &cfg->local_ip6, in udp_sock_create6()
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | bpf.h | 5881 __u32 local_ip6[4]; /* Stored in network byte order */ member 6116 __u32 local_ip6[4]; /* Stored in network byte order */ member 6331 __u32 local_ip6[4]; /* Stored in network byte order */ member 6875 __u32 local_ip6[4]; /* Network byte order */ member
|
/Linux-v6.1/include/uapi/linux/ |
D | bpf.h | 5881 __u32 local_ip6[4]; /* Stored in network byte order */ member 6116 __u32 local_ip6[4]; /* Stored in network byte order */ member 6331 __u32 local_ip6[4]; /* Stored in network byte order */ member 6875 __u32 local_ip6[4]; /* Network byte order */ member
|
/Linux-v6.1/include/net/ |
D | udp_tunnel.h | 20 struct in6_addr local_ip6; member
|
/Linux-v6.1/net/tipc/ |
D | udp_media.c | 759 udp_conf.local_ip6 = in6addr_any; in tipc_udp_enable() 761 udp_conf.local_ip6 = local.ipv6; in tipc_udp_enable()
|
/Linux-v6.1/net/rxrpc/ |
D | local_object.c | 126 udp_conf.local_ip6 = srx->transport.sin6.sin6_addr; in rxrpc_open_socket()
|
/Linux-v6.1/net/core/ |
D | filter.c | 8252 case bpf_ctx_range_till(struct __sk_buff, local_ip6[0], local_ip6[3]): in bpf_skb_is_valid_access() 9009 case bpf_ctx_range_till(struct sk_msg_md, local_ip6[0], local_ip6[3]): in sk_msg_is_valid_access() 9453 case offsetof(struct __sk_buff, local_ip6[0]) ... in bpf_convert_ctx_access() 9454 offsetof(struct __sk_buff, local_ip6[3]): in bpf_convert_ctx_access() 9460 off -= offsetof(struct __sk_buff, local_ip6[0]); in bpf_convert_ctx_access() 10200 case offsetof(struct bpf_sock_ops, local_ip6[0]) ... in sock_ops_convert_ctx_access() 10201 offsetof(struct bpf_sock_ops, local_ip6[3]): in sock_ops_convert_ctx_access() 10207 off -= offsetof(struct bpf_sock_ops, local_ip6[0]); in sock_ops_convert_ctx_access() 10572 case offsetof(struct sk_msg_md, local_ip6[0]) ... in sk_msg_convert_ctx_access() 10573 offsetof(struct sk_msg_md, local_ip6[3]): in sk_msg_convert_ctx_access() [all …]
|
/Linux-v6.1/net/ipv4/ |
D | fou.c | 508 if (ipv6_addr_cmp(&sk->sk_v6_rcv_saddr, &udp_cfg->local_ip6) || in fou_cfg_cmp() 715 cfg->udp_config.local_ip6 = nla_get_in6_addr(attr); in parse_nl_config()
|
/Linux-v6.1/drivers/net/wireguard/ |
D | socket.c | 369 .local_ip6 = IN6ADDR_ANY_INIT, in wg_socket_init()
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 266 local = &ctx->local_ip6[0]; in fill_sk_lookup_ctx()
|
/Linux-v6.1/net/sctp/ |
D | protocol.c | 884 udp_conf.local_ip6 = in6addr_any; in sctp_udp_sock_start()
|
/Linux-v6.1/net/bpf/ |
D | test_run.c | 1556 ctx.v6.daddr = (struct in6_addr *)user_ctx->local_ip6; in bpf_prog_test_run_sk_lookup()
|