Searched refs:user_port (Results 1 – 12 of 12) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | connect_force_port4.c | 43 if (ctx->user_port == bpf_htons(60000)) { in connect4() 50 orig->port = ctx->user_port; in connect4() 53 ctx->user_port = bpf_htons(60123); in connect4() 62 if (ctx->user_port == bpf_htons(60123)) { in getsockname4() 64 ctx->user_port = bpf_htons(60000); in getsockname4() 75 if (ctx->user_port == bpf_htons(60123)) { in getpeername4() 79 ctx->user_port = orig->port; in getpeername4()
|
| H A D | connect_force_port6.c | 42 if (ctx->user_port == bpf_htons(60000)) { in connect6() 52 orig->port = ctx->user_port; in connect6() 58 ctx->user_port = bpf_htons(60124); in connect6() 67 if (ctx->user_port == bpf_htons(60124)) { in getsockname6() 72 ctx->user_port = bpf_htons(60000); in getsockname6() 83 if (ctx->user_port == bpf_htons(60124)) { in getpeername6() 90 ctx->user_port = orig->port; in getpeername6()
|
| H A D | sendmsg4_prog.c | 38 ctx->user_port == bpf_htons(DST_PORT)) { in sendmsg_v4_prog() 40 ctx->user_port = bpf_htons(DST_REWRITE_PORT4); in sendmsg_v4_prog()
|
| H A D | sendmsg6_prog.c | 50 ctx->user_port = bpf_htons(DST_REWRITE_PORT6); in sendmsg_v6_prog()
|
| H A D | connect6_prog.c | 76 ctx->user_port = bpf_htons(DST_REWRITE_PORT6); in connect_v6_prog()
|
| H A D | connect4_prog.c | 196 ctx->user_port = bpf_htons(DST_REWRITE_PORT4); in connect_v4_prog()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_sock_addr.c | 748 offsetof(struct bpf_sock_addr, user_port)), in bind4_prog_load() 753 offsetof(struct bpf_sock_addr, user_port)), in bind4_prog_load() 758 offsetof(struct bpf_sock_addr, user_port)), in bind4_prog_load() 770 offsetof(struct bpf_sock_addr, user_port)), in bind4_prog_load() 835 offsetof(struct bpf_sock_addr, user_port)), in bind6_prog_load() 950 offsetof(struct bpf_sock_addr, user_port)), in sendmsg4_rw_asm_prog_load() 991 offsetof(struct bpf_sock_addr, user_port)), in recvmsg4_rw_asm_prog_load() 1048 offsetof(struct bpf_sock_addr, user_port)), in sendmsg6_rw_dst_asm_prog_load() 1087 offsetof(struct bpf_sock_addr, user_port)), in recvmsg6_rw_asm_prog_load()
|
| /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 | 2689 __u32 user_port; /* Allows 4-byte read and write. 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 | 2689 __u32 user_port; /* Allows 4-byte read and write. member
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | bpf.h | 4471 __u32 user_port; /* Allows 1,2,4-byte read and 4-byte write. member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | bpf.h | 4471 __u32 user_port; /* Allows 1,2,4-byte read and 4-byte write. member
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | filter.c | 8021 case bpf_ctx_range(struct bpf_sock_addr, user_port): in sock_addr_is_valid_access() 9017 case offsetof(struct bpf_sock_addr, user_port): in sock_addr_convert_ctx_access()
|