icmp_global_allow
bool icmp_global_allow(struct net *net);
EXPORT_SYMBOL(icmp_global_allow);
if (icmp_global_allow(net)) {