Lines Matching full:ipv4

100 	__builtin_memset(&bpf_tuple, 0, sizeof(bpf_tuple.ipv4));  in nf_ct_test()
109 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
119 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
127 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
135 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
144 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
152 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
159 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4) - 1, &opts_def, in nf_ct_test()
166 bpf_tuple.ipv4.saddr = bpf_get_prandom_u32(); /* src IP */ in nf_ct_test()
167 bpf_tuple.ipv4.daddr = bpf_get_prandom_u32(); /* dst IP */ in nf_ct_test()
168 bpf_tuple.ipv4.sport = bpf_get_prandom_u32(); /* src port */ in nf_ct_test()
169 bpf_tuple.ipv4.dport = bpf_get_prandom_u32(); /* dst port */ in nf_ct_test()
171 ct = alloc_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
194 ct_lk = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), in nf_ct_test()
226 bpf_tuple.ipv4.saddr = saddr; in nf_ct_test()
227 bpf_tuple.ipv4.daddr = daddr; in nf_ct_test()
228 bpf_tuple.ipv4.sport = sport; in nf_ct_test()
229 bpf_tuple.ipv4.dport = dport; in nf_ct_test()
230 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
255 __builtin_memset(&bpf_tuple, 0, sizeof(bpf_tuple.ipv4)); in nf_ct_opts_new_test()
258 ct = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_opts_new_test()
266 bpf_tuple.ipv4.saddr = bpf_get_prandom_u32(); /* src IP */ in nf_ct_opts_new_test()
267 bpf_tuple.ipv4.daddr = bpf_get_prandom_u32(); /* dst IP */ in nf_ct_opts_new_test()
268 bpf_tuple.ipv4.sport = bpf_get_prandom_u32(); /* src port */ in nf_ct_opts_new_test()
269 bpf_tuple.ipv4.dport = bpf_get_prandom_u32(); /* dst port */ in nf_ct_opts_new_test()
274 ct = alloc_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_opts_new_test()
297 ct_lk = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), in nf_ct_opts_new_test()
306 ct_lk = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), in nf_ct_opts_new_test()
316 ct_lk = lookup_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), in nf_ct_opts_new_test()