Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dicmp.c467 static unsigned int icmp6_ext_max_len(u8 ext_objs) in icmp6_ext_max_len() argument
473 if (ext_objs & BIT(ICMP_ERR_EXT_IIO_IIF)) in icmp6_ext_max_len()
555 u8 ext_objs, int iif) in icmp6_ext_objs_append() argument
557 if (ext_objs & BIT(ICMP_ERR_EXT_IIO_IIF)) in icmp6_ext_objs_append()
568 u8 ext_objs; in icmp6_ext_append() local
587 ext_objs = READ_ONCE(net->ipv6.sysctl.icmpv6_errors_extension_mask); in icmp6_ext_append()
588 if (!ext_objs) in icmp6_ext_append()
591 ext_max_len = icmp6_ext_max_len(ext_objs); in icmp6_ext_append()
615 icmp6_ext_objs_append(net, skb, ext_objs, iif); in icmp6_ext_append()
/linux/net/ipv4/
H A Dicmp.c633 static unsigned int icmp_ext_max_len(u8 ext_objs) in icmp_ext_max_len() argument
639 if (ext_objs & BIT(ICMP_ERR_EXT_IIO_IIF)) in icmp_ext_max_len()
720 u8 ext_objs, int iif) in icmp_ext_objs_append() argument
722 if (ext_objs & BIT(ICMP_ERR_EXT_IIO_IIF)) in icmp_ext_objs_append()
733 u8 ext_objs; in icmp_ext_append() local
745 ext_objs = READ_ONCE(net->ipv4.sysctl_icmp_errors_extension_mask); in icmp_ext_append()
746 if (!ext_objs) in icmp_ext_append()
749 ext_max_len = icmp_ext_max_len(ext_objs); in icmp_ext_append()
773 icmp_ext_objs_append(net, skb, ext_objs, iif); in icmp_ext_append()