Home
last modified time | relevance | path

Searched refs:net_spot_max (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dcipso_ipv4.c792 u32 net_spot_max = 0; in cipso_v4_map_cat_rbm_hton() local
824 if (net_spot > net_spot_max) in cipso_v4_map_cat_rbm_hton()
825 net_spot_max = net_spot; in cipso_v4_map_cat_rbm_hton()
828 if (++net_spot_max % 8) in cipso_v4_map_cat_rbm_hton()
829 return net_spot_max / 8 + 1; in cipso_v4_map_cat_rbm_hton()
830 return net_spot_max / 8; in cipso_v4_map_cat_rbm_hton()
/kernel/linux/linux-5.10/net/ipv6/
Dcalipso.c614 u32 net_spot_max = 0; in calipso_map_cat_hton() local
626 if (spot > net_spot_max) in calipso_map_cat_hton()
627 net_spot_max = spot; in calipso_map_cat_hton()
630 return (net_spot_max / 32 + 1) * 4; in calipso_map_cat_hton()