Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dcipso_ipv4.c791 u32 net_spot_max = 0; in cipso_v4_map_cat_rbm_hton() local
823 if (net_spot > net_spot_max) in cipso_v4_map_cat_rbm_hton()
824 net_spot_max = net_spot; in cipso_v4_map_cat_rbm_hton()
827 if (++net_spot_max % 8) in cipso_v4_map_cat_rbm_hton()
828 return net_spot_max / 8 + 1; in cipso_v4_map_cat_rbm_hton()
829 return net_spot_max / 8; in cipso_v4_map_cat_rbm_hton()
/linux-6.1.9/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()