/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/progs/ |
H A D | bind4_prog.c | 105 __u16 user_port; in bind_v4_prog() local 118 ctx->user_port != bpf_htons(SERV4_PORT)) in bind_v4_prog() 130 user_port = 0; in bind_v4_prog() 131 user_port |= ((volatile __u8 *)&ctx->user_port)[0] << 0; in bind_v4_prog() 132 user_port |= ((volatile __u8 *)&ctx->user_port)[1] << 8; in bind_v4_prog() 133 if (ctx->user_port != user_port) in bind_v4_prog() 156 ctx->user_port = bpf_htons(SERV4_REWRITE_PORT); in bind_v4_prog()
|
H A D | connect_force_port4.c | 45 if (ctx->user_port == bpf_htons(60000)) { in connect4() 52 orig->port = ctx->user_port; in connect4() 55 ctx->user_port = bpf_htons(60123); in connect4() 67 if (ctx->user_port == bpf_htons(60123)) { in getsockname4() 69 ctx->user_port = bpf_htons(60000); in getsockname4() 83 if (ctx->user_port == bpf_htons(60123)) { in getpeername4() 87 ctx->user_port = orig->port; in getpeername4()
|
H A D | bind6_prog.c | 111 __u16 user_port; in bind_v6_prog() local 128 ctx->user_port != bpf_htons(SERV6_PORT)) in bind_v6_prog() 142 user_port = 0; in bind_v6_prog() 143 user_port |= ((volatile __u8 *)&ctx->user_port)[0] << 0; in bind_v6_prog() 144 user_port |= ((volatile __u8 *)&ctx->user_port)[1] << 8; in bind_v6_prog() 145 if (ctx->user_port != user_port) in bind_v6_prog() 173 ctx->user_port = bpf_htons(SERV6_REWRITE_PORT); in bind_v6_prog()
|
H A D | connect_force_port6.c | 44 if (ctx->user_port == bpf_htons(60000)) { in connect6() 54 orig->port = ctx->user_port; in connect6() 60 ctx->user_port = bpf_htons(60124); in connect6() 72 if (ctx->user_port == bpf_htons(60124)) { in getsockname6() 77 ctx->user_port = bpf_htons(60000); in getsockname6() 91 if (ctx->user_port == bpf_htons(60124)) { in getpeername6() 98 ctx->user_port = orig->port; in getpeername6()
|
H A D | recvmsg4_prog.c | 21 __u16 user_port; in recvmsg4_prog() local 37 ctx->user_port = bpf_htons(SERV4_PORT); in recvmsg4_prog()
|
H A D | sendmsg4_prog.c | 45 ctx->user_port == bpf_htons(DST_PORT)) { in sendmsg_v4_prog() 47 ctx->user_port = bpf_htons(DST_REWRITE_PORT4); in sendmsg_v4_prog()
|
H A D | recvmsg6_prog.c | 24 __u16 user_port; in recvmsg6_prog() local 43 ctx->user_port = bpf_htons(SERV6_PORT); in recvmsg6_prog()
|
H A D | bind_perm.c | 27 if (ctx->user_port == bpf_htons(111)) in bind_prog()
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/progs/ |
H A D | bind4_prog.c | 105 __u16 user_port; in bind_v4_prog() local 118 ctx->user_port != bpf_htons(SERV4_PORT)) in bind_v4_prog() 130 user_port = 0; in bind_v4_prog() 131 user_port |= ((volatile __u8 *)&ctx->user_port)[0] << 0; in bind_v4_prog() 132 user_port |= ((volatile __u8 *)&ctx->user_port)[1] << 8; in bind_v4_prog() 133 if (ctx->user_port != user_port) in bind_v4_prog() 156 ctx->user_port = bpf_htons(SERV4_REWRITE_PORT); in bind_v4_prog()
|
H A D | connect_force_port4.c | 45 if (ctx->user_port == bpf_htons(60000)) { in connect4() 52 orig->port = ctx->user_port; in connect4() 55 ctx->user_port = bpf_htons(60123); in connect4() 67 if (ctx->user_port == bpf_htons(60123)) { in getsockname4() 69 ctx->user_port = bpf_htons(60000); in getsockname4() 83 if (ctx->user_port == bpf_htons(60123)) { in getpeername4() 87 ctx->user_port = orig->port; in getpeername4()
|
H A D | bind6_prog.c | 111 __u16 user_port; in bind_v6_prog() local 128 ctx->user_port != bpf_htons(SERV6_PORT)) in bind_v6_prog() 142 user_port = 0; in bind_v6_prog() 143 user_port |= ((volatile __u8 *)&ctx->user_port)[0] << 0; in bind_v6_prog() 144 user_port |= ((volatile __u8 *)&ctx->user_port)[1] << 8; in bind_v6_prog() 145 if (ctx->user_port != user_port) in bind_v6_prog() 173 ctx->user_port = bpf_htons(SERV6_REWRITE_PORT); in bind_v6_prog()
|
H A D | connect_force_port6.c | 44 if (ctx->user_port == bpf_htons(60000)) { in connect6() 54 orig->port = ctx->user_port; in connect6() 60 ctx->user_port = bpf_htons(60124); in connect6() 72 if (ctx->user_port == bpf_htons(60124)) { in getsockname6() 77 ctx->user_port = bpf_htons(60000); in getsockname6() 91 if (ctx->user_port == bpf_htons(60124)) { in getpeername6() 98 ctx->user_port = orig->port; in getpeername6()
|
H A D | recvmsg4_prog.c | 21 __u16 user_port; in recvmsg4_prog() local 37 ctx->user_port = bpf_htons(SERV4_PORT); in recvmsg4_prog()
|
H A D | sendmsg4_prog.c | 45 ctx->user_port == bpf_htons(DST_PORT)) { in sendmsg_v4_prog() 47 ctx->user_port = bpf_htons(DST_REWRITE_PORT4); in sendmsg_v4_prog()
|
H A D | recvmsg6_prog.c | 24 __u16 user_port; in recvmsg6_prog() local 43 ctx->user_port = bpf_htons(SERV6_PORT); in recvmsg6_prog()
|
H A D | bind_perm.c | 27 if (ctx->user_port == bpf_htons(111)) in bind_prog()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/progs/ |
H A D | bind4_prog.c | 105 __u16 user_port; in bind_v4_prog() local 118 ctx->user_port != bpf_htons(SERV4_PORT)) in bind_v4_prog() 130 user_port = 0; in bind_v4_prog() 131 user_port |= ((volatile __u8 *)&ctx->user_port)[0] << 0; in bind_v4_prog() 132 user_port |= ((volatile __u8 *)&ctx->user_port)[1] << 8; in bind_v4_prog() 133 if (ctx->user_port != user_port) in bind_v4_prog() 156 ctx->user_port = bpf_htons(SERV4_REWRITE_PORT); in bind_v4_prog()
|
H A D | connect_force_port4.c | 45 if (ctx->user_port == bpf_htons(60000)) { in connect4() 52 orig->port = ctx->user_port; in connect4() 55 ctx->user_port = bpf_htons(60123); in connect4() 67 if (ctx->user_port == bpf_htons(60123)) { in getsockname4() 69 ctx->user_port = bpf_htons(60000); in getsockname4() 83 if (ctx->user_port == bpf_htons(60123)) { in getpeername4() 87 ctx->user_port = orig->port; in getpeername4()
|
H A D | bind6_prog.c | 111 __u16 user_port; in bind_v6_prog() local 128 ctx->user_port != bpf_htons(SERV6_PORT)) in bind_v6_prog() 142 user_port = 0; in bind_v6_prog() 143 user_port |= ((volatile __u8 *)&ctx->user_port)[0] << 0; in bind_v6_prog() 144 user_port |= ((volatile __u8 *)&ctx->user_port)[1] << 8; in bind_v6_prog() 145 if (ctx->user_port != user_port) in bind_v6_prog() 173 ctx->user_port = bpf_htons(SERV6_REWRITE_PORT); in bind_v6_prog()
|
H A D | connect_force_port6.c | 44 if (ctx->user_port == bpf_htons(60000)) { in connect6() 54 orig->port = ctx->user_port; in connect6() 60 ctx->user_port = bpf_htons(60124); in connect6() 72 if (ctx->user_port == bpf_htons(60124)) { in getsockname6() 77 ctx->user_port = bpf_htons(60000); in getsockname6() 91 if (ctx->user_port == bpf_htons(60124)) { in getpeername6() 98 ctx->user_port = orig->port; in getpeername6()
|
H A D | recvmsg4_prog.c | 21 __u16 user_port; in recvmsg4_prog() local 37 ctx->user_port = bpf_htons(SERV4_PORT); in recvmsg4_prog()
|
H A D | sendmsg4_prog.c | 45 ctx->user_port == bpf_htons(DST_PORT)) { in sendmsg_v4_prog() 47 ctx->user_port = bpf_htons(DST_REWRITE_PORT4); in sendmsg_v4_prog()
|
H A D | recvmsg6_prog.c | 24 __u16 user_port; in recvmsg6_prog() local 43 ctx->user_port = bpf_htons(SERV6_PORT); in recvmsg6_prog()
|
H A D | bind_perm.c | 27 if (ctx->user_port == bpf_htons(111)) in bind_prog()
|
/dports/ftp/net2ftp/net2ftp_v1.3/ |
H A D | create_tables.sql | 24 `user_port` text NOT NULL, 68 `user_port` text NOT NULL,
|