OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nh_off
(Results
1 - 4
of
4
) sorted by null
/external/linux-kselftest/tools/testing/selftests/bpf/
test_sk_lookup_kern.c
22
static struct bpf_sock_tuple *get_tuple(void *data, __u64
nh_off
,
31
struct iphdr *iph = (struct iphdr *)(data +
nh_off
);
40
struct ipv6hdr *ip6h = (struct ipv6hdr *)(data +
nh_off
);
50
if (data +
nh_off
+ ihl_len > data_end || proto != IPPROTO_TCP)
test_l4lb.c
460
__u32
nh_off
;
local
462
nh_off
= sizeof(struct eth_hdr);
463
if (data +
nh_off
> data_end)
467
return process_packet(data,
nh_off
, data_end, false, ctx);
469
return process_packet(data,
nh_off
, data_end, true, ctx);
test_l4lb_noinline.c
460
__u32
nh_off
;
local
462
nh_off
= sizeof(struct eth_hdr);
463
if (data +
nh_off
> data_end)
467
return process_packet(data,
nh_off
, data_end, false, ctx);
469
return process_packet(data,
nh_off
, data_end, true, ctx);
test_xdp_noinline.c
818
__u32
nh_off
;
local
820
nh_off
= sizeof(struct eth_hdr);
821
if (data +
nh_off
> data_end)
825
return process_packet(data,
nh_off
, data_end, 0, ctx);
827
return process_packet(data,
nh_off
, data_end, 1, ctx);
Completed in 83 milliseconds