rxrpc: Add IPv6 support
Add IPv6 support to AF_RXRPC. With this, AF_RXRPC sockets can be created:
service = socket(AF_RXRPC, SOCK_DGRAM, PF_INET6);
instead of:
service = socket(AF_RXRPC, SOCK_DGRAM, PF_INET);
The AFS filesystem doesn't support IPv6 at the moment, though, since that
requires upgrades to some of the RPC calls.
Note that a good portion of this patch is replacing "%pI4:%u" in print
statements with "%pISpc" which is able to handle both protocols and print
the port.
Signed-off-by:
David Howells <dhowells@redhat.com>
Showing
- net/rxrpc/af_rxrpc.c 11 additions, 4 deletionsnet/rxrpc/af_rxrpc.c
- net/rxrpc/conn_object.c 8 additions, 0 deletionsnet/rxrpc/conn_object.c
- net/rxrpc/local_object.c 15 additions, 20 deletionsnet/rxrpc/local_object.c
- net/rxrpc/output.c 16 additions, 0 deletionsnet/rxrpc/output.c
- net/rxrpc/peer_event.c 24 additions, 0 deletionsnet/rxrpc/peer_event.c
- net/rxrpc/peer_object.c 68 additions, 41 deletionsnet/rxrpc/peer_object.c
- net/rxrpc/proc.c 12 additions, 18 deletionsnet/rxrpc/proc.c
Loading
Please register or sign in to comment