Searched refs:user_ip4 (Results 1 - 9 of 9) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dbind4_prog.c102 __u32 user_ip4; local
115 if (ctx->user_ip4 != bpf_htonl(SERV4_IP) ||
120 user_ip4 = 0;
121 user_ip4 |= ((volatile __u8 *)&ctx->user_ip4)[0] << 0;
122 user_ip4 |= ((volatile __u8 *)&ctx->user_ip4)[1] << 8;
123 user_ip4 |= ((volatile __u8 *)&ctx->user_ip4)[2] << 16;
124 user_ip4 |
[all...]
H A Dsendmsg4_prog.c40 if ((ctx->user_ip4 >> 24) == (bpf_htonl(DST_IP4) >> 24) &&
42 ctx->user_ip4 = bpf_htonl(DST_REWRITE_IP4);
H A Dconnect_force_port4.c50 orig->addr = ctx->user_ip4;
53 ctx->user_ip4 = bpf_htonl(0x7f000001);
67 ctx->user_ip4 = bpf_htonl(0x01020304);
85 ctx->user_ip4 = orig->addr;
H A Drecvmsg4_prog.c34 ctx->user_ip4 = bpf_htonl(SERV4_IP);
H A Dconnect4_prog.c194 ctx->user_ip4 = bpf_htonl(DST_REWRITE_IP4);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_sock_addr.c782 /* user_ip4 = dst4_rw_addr.sin_addr */
785 offsetof(struct bpf_sock_addr, user_ip4)),
/linux-master/include/uapi/linux/
H A Dbpf.h6730 __u32 user_ip4; /* Allows 1,2,4-byte read and 4-byte write. member in struct:bpf_sock_addr
/linux-master/tools/include/uapi/linux/
H A Dbpf.h6730 __u32 user_ip4; /* Allows 1,2,4-byte read and 4-byte write. member in struct:bpf_sock_addr
/linux-master/net/core/
H A Dfilter.c9036 case bpf_ctx_range(struct bpf_sock_addr, user_ip4):
9082 case bpf_ctx_range(struct bpf_sock_addr, user_ip4):
10174 case offsetof(struct bpf_sock_addr, user_ip4):

Completed in 506 milliseconds