diff options
author | 2020-07-24 09:03:10 -0400 | |
---|---|---|
committer | 2020-07-24 17:12:41 -0700 | |
commit | 01370434df85eb76ecb1527a4466013c4aca2436 (patch) | |
tree | cff5b3519cd10e640cd125b27291e2a8f703eaf4 /include/linux/ipv6.h | |
parent | icmp: prepare rfc 4884 for ipv6 (diff) | |
download | linux-01370434df85eb76ecb1527a4466013c4aca2436.tar.gz linux-01370434df85eb76ecb1527a4466013c4aca2436.tar.bz2 linux-01370434df85eb76ecb1527a4466013c4aca2436.zip |
icmp6: support rfc 4884
Extend the rfc 4884 read interface introduced for ipv4 in
commit eba75c587e81 ("icmp: support rfc 4884") to ipv6.
Add socket option SOL_IPV6/IPV6_RECVERR_RFC4884.
Changes v1->v2:
- make ipv6_icmp_error_rfc4884 static (file scope)
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r-- | include/linux/ipv6.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 8d8f877e7f81..a44789d027cc 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -283,6 +283,7 @@ struct ipv6_pinfo { autoflowlabel:1, autoflowlabel_set:1, mc_all:1, + recverr_rfc4884:1, rtalert_isolate:1; __u8 min_hopcount; __u8 tclass; |