Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/
Dcipso_ipv4.c812 u32 net_spot_max = 0; in cipso_v4_map_cat_rbm_hton() local
844 if (net_spot > net_spot_max) in cipso_v4_map_cat_rbm_hton()
845 net_spot_max = net_spot; in cipso_v4_map_cat_rbm_hton()
848 if (++net_spot_max % 8) in cipso_v4_map_cat_rbm_hton()
849 return net_spot_max / 8 + 1; in cipso_v4_map_cat_rbm_hton()
850 return net_spot_max / 8; in cipso_v4_map_cat_rbm_hton()
/Linux-v4.19/net/ipv6/
Dcalipso.c632 u32 net_spot_max = 0; in calipso_map_cat_hton() local
644 if (spot > net_spot_max) in calipso_map_cat_hton()
645 net_spot_max = spot; in calipso_map_cat_hton()
648 return (net_spot_max / 32 + 1) * 4; in calipso_map_cat_hton()