gvisor/pkg/tcpip/link
Bert Muthalaly bc41e4761b Rename incorrectly named (dst, src) arguments in DeliverNetworkPacket prototype
...to (remote, local), reflecting the (correct) names in the implementation of
DeliverNetworkPacket (see tcpip/stack/nic.go).

Also trim the names in DeliverNetworkPacket and elsewhere to avoid stuttering;
since the type is tcpip.LinkAddress, there's no need to include "LinkAddr" in
the parameter names.

Note that every callsite passes arguments in the order (src, dst).

PiperOrigin-RevId: 221514396
Change-Id: I3637454ad0d6e62a19e4dcbc2a16493798bd0f09
2018-11-14 14:46:24 -08:00
..
channel Rename incorrectly named (dst, src) arguments in DeliverNetworkPacket prototype 2018-11-14 14:46:24 -08:00
fdbased Rename incorrectly named (dst, src) arguments in DeliverNetworkPacket prototype 2018-11-14 14:46:24 -08:00
loopback Rename incorrectly named (dst, src) arguments in DeliverNetworkPacket prototype 2018-11-14 14:46:24 -08:00
rawfile Use syserr style error translation in netstack's rawfile 2018-10-31 18:22:05 -07:00
sharedmem Track paths and provide a rename hook. 2018-10-23 00:20:15 -07:00
sniffer Rename incorrectly named (dst, src) arguments in DeliverNetworkPacket prototype 2018-11-14 14:46:24 -08:00
tun Track paths and provide a rename hook. 2018-10-23 00:20:15 -07:00
waitable Rename incorrectly named (dst, src) arguments in DeliverNetworkPacket prototype 2018-11-14 14:46:24 -08:00