Searched hist:"204621551 b2a0060a013b92f7add4d5c452fa7cb" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/uapi/linux/ |
H A D | inet_diag.h | diff 204621551b2a0060a013b92f7add4d5c452fa7cb Wed Jun 24 04:02:51 CDT 2015 Phil Sutter <phil@nwl.cc> net: inet_diag: export IPV6_V6ONLY sockopt
For AF_INET6 sockets, the value of struct ipv6_pinfo.ipv6only is exported to userspace. It indicates whether a socket bound to in6addr_any listens on IPv4 as well as IPv6. Since the socket is natively IPv6, it is not listed by e.g. 'ss -l -4'.
This patch is accompanied by an appropriate one for iproute2 to enable the additional information in 'ss -e'.
Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/ipv4/ |
H A D | inet_diag.c | diff 204621551b2a0060a013b92f7add4d5c452fa7cb Wed Jun 24 04:02:51 CDT 2015 Phil Sutter <phil@nwl.cc> net: inet_diag: export IPV6_V6ONLY sockopt
For AF_INET6 sockets, the value of struct ipv6_pinfo.ipv6only is exported to userspace. It indicates whether a socket bound to in6addr_any listens on IPv4 as well as IPv6. Since the socket is natively IPv6, it is not listed by e.g. 'ss -l -4'.
This patch is accompanied by an appropriate one for iproute2 to enable the additional information in 'ss -e'.
Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
|