Home
last modified time | relevance | path

Searched refs:user_ip4 (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/tools/testing/selftests/bpf/
Dsendmsg4_prog.c37 if ((ctx->user_ip4 >> 24) == (bpf_htonl(DST_IP4) >> 24) && in sendmsg_v4_prog()
39 ctx->user_ip4 = bpf_htonl(DST_REWRITE_IP4); in sendmsg_v4_prog()
Dconnect4_prog.c27 ctx->user_ip4 = bpf_htonl(DST_REWRITE_IP4); in connect_v4_prog()
Dtest_sock_addr.c588 offsetof(struct bpf_sock_addr, user_ip4)), in bind4_prog_load()
593 offsetof(struct bpf_sock_addr, user_ip4)), in bind4_prog_load()
598 offsetof(struct bpf_sock_addr, user_ip4)), in bind4_prog_load()
605 offsetof(struct bpf_sock_addr, user_ip4)), in bind4_prog_load()
763 offsetof(struct bpf_sock_addr, user_ip4)), in sendmsg4_rw_asm_prog_load()
/Linux-v4.19/tools/include/uapi/linux/
Dbpf.h2524 __u32 user_ip4; /* Allows 1,2,4-byte read and 4-byte write. member
/Linux-v4.19/include/uapi/linux/
Dbpf.h2524 __u32 user_ip4; /* Allows 1,2,4-byte read and 4-byte write. member
/Linux-v4.19/net/core/
Dfilter.c5554 case bpf_ctx_range(struct bpf_sock_addr, user_ip4): in sock_addr_is_valid_access()
5594 case bpf_ctx_range(struct bpf_sock_addr, user_ip4): in sock_addr_is_valid_access()
6300 case offsetof(struct bpf_sock_addr, user_ip4): in sock_addr_convert_ctx_access()