Lines Matching +full:0 +full:x12345678
17 #define SERV6_IP_0 0xfaceb00c /* face:b00c:1234:5678::abcd */
18 #define SERV6_IP_1 0x12345678
19 #define SERV6_IP_2 0x00000000
20 #define SERV6_IP_3 0x0000abcd
22 #define SERV6_REWRITE_IP_0 0x00000000
23 #define SERV6_REWRITE_IP_1 0x00000000
24 #define SERV6_REWRITE_IP_2 0x00000000
25 #define SERV6_REWRITE_IP_3 0x00000001
63 return 0; in bind_to_device()
76 val = 0; in bind_reuseport()
84 return 0; in bind_reuseport()
89 int old, tmp, new = 0xeb9f; in misc_opts()
103 return 0; in misc_opts()
116 return 0; in bind_v6_prog()
119 return 0; in bind_v6_prog()
122 return 0; in bind_v6_prog()
124 if (ctx->user_ip6[0] != bpf_htonl(SERV6_IP_0) || in bind_v6_prog()
129 return 0; in bind_v6_prog()
132 for (i = 0; i < 4; i++) { in bind_v6_prog()
133 user_ip6 = 0; in bind_v6_prog()
134 user_ip6 |= load_byte(ctx->user_ip6[i], 0, sizeof(user_ip6)); in bind_v6_prog()
139 return 0; in bind_v6_prog()
142 user_port = 0; in bind_v6_prog()
143 user_port |= load_byte(ctx->user_port, 0, sizeof(user_port)); in bind_v6_prog()
146 return 0; in bind_v6_prog()
149 for (i = 0; i < 4; i++) { in bind_v6_prog()
150 user_ip6 = 0; in bind_v6_prog()
151 user_ip6 |= load_word(ctx->user_ip6[i], 0, sizeof(user_ip6)); in bind_v6_prog()
154 return 0; in bind_v6_prog()
159 return 0; in bind_v6_prog()
163 return 0; in bind_v6_prog()
167 return 0; in bind_v6_prog()
169 ctx->user_ip6[0] = bpf_htonl(SERV6_REWRITE_IP_0); in bind_v6_prog()
181 return 0; in bind_v6_deny_prog()