Lines Matching refs:user_ip4
104 __u32 user_ip4; in bind_v4_prog() local
117 if (ctx->user_ip4 != bpf_htonl(SERV4_IP) || in bind_v4_prog()
122 user_ip4 = 0; in bind_v4_prog()
123 user_ip4 |= load_byte(ctx->user_ip4, 0, sizeof(user_ip4)); in bind_v4_prog()
124 user_ip4 |= load_byte(ctx->user_ip4, 1, sizeof(user_ip4)); in bind_v4_prog()
125 user_ip4 |= load_byte(ctx->user_ip4, 2, sizeof(user_ip4)); in bind_v4_prog()
126 user_ip4 |= load_byte(ctx->user_ip4, 3, sizeof(user_ip4)); in bind_v4_prog()
127 if (ctx->user_ip4 != user_ip4) in bind_v4_prog()
137 user_ip4 = 0; in bind_v4_prog()
138 user_ip4 |= load_word(ctx->user_ip4, 0, sizeof(user_ip4)); in bind_v4_prog()
139 user_ip4 |= load_word(ctx->user_ip4, 1, sizeof(user_ip4)); in bind_v4_prog()
140 if (ctx->user_ip4 != user_ip4) in bind_v4_prog()
155 ctx->user_ip4 = bpf_htonl(SERV4_REWRITE_IP); in bind_v4_prog()