Home
last modified time | relevance | path

Searched refs:hop_count (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.c383 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally()
407 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre()
541 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop()
550 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop()
587 if (encap->unigue.next_hop > encap->unigue.hop_count) { in get_next_hop()
594 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop()
605 return skip_next_hops(pkt, encap->unigue.hop_count - in get_next_hop()
1008 sizeof(encap->unigue) / 4 + encap->unigue.hop_count) { in cls_redirect()
H A Dtest_cls_redirect_dynptr.c277 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally()
299 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre()
435 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop()
444 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop()
480 if (encap->unigue.next_hop > encap->unigue.hop_count) in get_next_hop()
486 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop()
498 return skip_next_hops(offset, encap->unigue.hop_count - encap->unigue.next_hop - 1); in get_next_hop()
910 sizeof(encap->unigue) / 4 + encap->unigue.hop_count) { in cls_redirect()
H A Dtest_cls_redirect.h47 uint8_t hop_count; member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcls_redirect.c175 static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto) in test_str()
178 (sizeof(struct guehdr) / sizeof(uint32_t)) + hop_count; in test_str()
196 .hop_count = hop_count in test_str()
218 encap_init(encap_headers_t * encap,uint8_t hop_count,uint8_t proto) encap_init() argument
/linux/net/mac80211/
H A Dmesh.h118 u8 hop_count; member
H A Dmesh_pathtbl.c1053 mpath->hop_count = 0; in mesh_path_fix_nexthop()
H A Dcfg.c3006 pinfo->hop_count = mpath->hop_count; in mpath_set_pinfo()
/linux/include/linux/
H A Dthunderbolt.h533 u32 hop_count; member
/linux/include/net/
H A Dcfg80211.h2611 u8 hop_count; member
/linux/net/wireless/
H A Dnl80211.c9794 pinfo->hop_count)) || in nl80211_send_mpath()