Home
last modified time | relevance | path

Searched refs:data_check (Results 1 – 3 of 3) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_select_reuseport_kern.c55 .value_size = sizeof(struct data_check),
70 struct data_check data_check = {}; in _select_by_skb_data() local
80 data_check.len = reuse_md->len; in _select_by_skb_data()
81 data_check.eth_protocol = reuse_md->eth_protocol; in _select_by_skb_data()
82 data_check.ip_protocol = reuse_md->ip_protocol; in _select_by_skb_data()
83 data_check.hash = reuse_md->hash; in _select_by_skb_data()
84 data_check.bind_inany = reuse_md->bind_inany; in _select_by_skb_data()
85 if (data_check.eth_protocol == bpf_htons(ETH_P_IP)) { in _select_by_skb_data()
88 data_check.skb_addrs, 8, in _select_by_skb_data()
94 data_check.skb_addrs, 32, in _select_by_skb_data()
[all …]
Dtest_select_reuseport_common.h24 struct data_check { struct
Dtest_select_reuseport.c232 struct data_check expected = {}, result; in check_data()
278 if (memcmp(&result, &expected, offsetof(struct data_check, in check_data()