| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | test_sk_lookup.c | 152 if (ctx->local_ip6[0] != DST_IP6[0] || in redir_ip6() 153 ctx->local_ip6[1] != DST_IP6[1] || in redir_ip6() 154 ctx->local_ip6[2] != DST_IP6[2] || in redir_ip6() 155 ctx->local_ip6[3] != DST_IP6[3]) in redir_ip6() 487 if (LSB(ctx->local_ip6[0], 0) != ((DST_IP6[0] >> 0) & 0xff) || in ctx_narrow_access() 488 LSB(ctx->local_ip6[0], 1) != ((DST_IP6[0] >> 8) & 0xff) || in ctx_narrow_access() 489 LSB(ctx->local_ip6[0], 2) != ((DST_IP6[0] >> 16) & 0xff) || in ctx_narrow_access() 490 LSB(ctx->local_ip6[0], 3) != ((DST_IP6[0] >> 24) & 0xff) || in ctx_narrow_access() 491 LSB(ctx->local_ip6[1], 0) != ((DST_IP6[1] >> 0) & 0xff) || in ctx_narrow_access() 492 LSB(ctx->local_ip6[1], 1) != ((DST_IP6[1] >> 8) & 0xff) || in ctx_narrow_access() [all …]
|
| /OK3568_Linux_fs/kernel/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), 172 offsetof(struct bpf_sk_lookup, local_ip6) + 8), 174 offsetof(struct bpf_sk_lookup, local_ip6) + 9), [all …]
|
| H A 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])),
|
| H A 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])),
|
| 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])),
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/net/l2tp/ |
| H A 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()
|
| 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()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | bpf.h | 2470 __u32 local_ip6[4]; /* Stored in network byte order */ member 2599 __u32 local_ip6[4]; /* Stored in network byte order */ member 2720 __u32 local_ip6[4]; /* Stored in network byte order */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | bpf.h | 2470 __u32 local_ip6[4]; /* Stored in network byte order */ member 2599 __u32 local_ip6[4]; /* Stored in network byte order */ member 2720 __u32 local_ip6[4]; /* Stored in network byte order */ member
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | bpf.h | 4108 __u32 local_ip6[4]; /* Stored in network byte order */ member 4328 __u32 local_ip6[4]; /* Stored in network byte order */ member 4503 __u32 local_ip6[4]; /* Stored in network byte order */ member 5021 __u32 local_ip6[4]; /* Network byte order */ member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | bpf.h | 4108 __u32 local_ip6[4]; /* Stored in network byte order */ member 4328 __u32 local_ip6[4]; /* Stored in network byte order */ member 4503 __u32 local_ip6[4]; /* Stored in network byte order */ member 5021 __u32 local_ip6[4]; /* Network byte order */ member
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | ip6_udp_tunnel.c | 39 memcpy(&udp6_addr.sin6_addr, &cfg->local_ip6, in udp_sock_create6()
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | udp_tunnel.h | 20 struct in6_addr local_ip6; member
|
| /OK3568_Linux_fs/kernel/net/tipc/ |
| H A D | udp_media.c | 751 udp_conf.local_ip6 = in6addr_any; in tipc_udp_enable() 753 udp_conf.local_ip6 = local.ipv6; in tipc_udp_enable()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | filter.c | 7520 case bpf_ctx_range_till(struct __sk_buff, local_ip6[0], local_ip6[3]): in bpf_skb_is_valid_access() 8205 case bpf_ctx_range_till(struct sk_msg_md, local_ip6[0], local_ip6[3]): in sk_msg_is_valid_access() 8562 case offsetof(struct __sk_buff, local_ip6[0]) ... in bpf_convert_ctx_access() 8563 offsetof(struct __sk_buff, local_ip6[3]): in bpf_convert_ctx_access() 8569 off -= offsetof(struct __sk_buff, local_ip6[0]); in bpf_convert_ctx_access() 9302 case offsetof(struct bpf_sock_ops, local_ip6[0]) ... in sock_ops_convert_ctx_access() 9303 offsetof(struct bpf_sock_ops, local_ip6[3]): in sock_ops_convert_ctx_access() 9309 off -= offsetof(struct bpf_sock_ops, local_ip6[0]); in sock_ops_convert_ctx_access() 9631 case offsetof(struct sk_msg_md, local_ip6[0]) ... in sk_msg_convert_ctx_access() 9632 offsetof(struct sk_msg_md, local_ip6[3]): in sk_msg_convert_ctx_access() [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | fou.c | 522 if (ipv6_addr_cmp(&sk->sk_v6_rcv_saddr, &udp_cfg->local_ip6) || in fou_cfg_cmp() 729 cfg->udp_config.local_ip6 = nla_get_in6_addr(attr); in parse_nl_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireguard/ |
| H A D | socket.c | 369 .local_ip6 = IN6ADDR_ANY_INIT, in wg_socket_init()
|
| /OK3568_Linux_fs/kernel/net/bpf/ |
| H A D | test_run.c | 861 ctx.v6.daddr = (struct in6_addr *)user_ctx->local_ip6; in bpf_prog_test_run_sk_lookup()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sk_lookup.c | 267 local = &ctx->local_ip6[0]; in fill_sk_lookup_ctx()
|