Home
last modified time | relevance | path

Searched refs:src_ip4 (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_fields.c61 char src_ip4[24], dst_ip4[24]; in print_sk() local
64 inet_ntop(AF_INET, &sk->src_ip4, src_ip4, sizeof(src_ip4)); in print_sk()
75 sk->src_ip4, src_ip4, in print_sk()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_sock.c81 offsetof(struct bpf_sock, src_ip4)),
233 offsetof(struct bpf_sock, src_ip4)),
263 offsetof(struct bpf_sock, src_ip4)),
294 offsetof(struct bpf_sock, src_ip4)),
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sock_fields.c70 dst->src_ip4 = src->src_ip4; in skcpy()
H A Dconnect4_prog.c181 if (sk->src_ip4 != tuple.ipv4.daddr || in connect_v4_prog()
/openbmc/linux/include/uapi/linux/
H A Dbpf.h6211 __u32 src_ip4; member
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h6211 __u32 src_ip4; member
/openbmc/linux/net/core/
H A Dfilter.c8710 case bpf_ctx_range(struct bpf_sock, src_ip4): in __sock_filter_check_attach_type()
8769 case bpf_ctx_range(struct bpf_sock, src_ip4): in bpf_sock_is_valid_access()
9913 case offsetof(struct bpf_sock, src_ip4): in bpf_sock_convert_ctx_access()