]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tcpip] Provide tcpip_netdev() to determine the transmitting network device
authorMichael Brown <mcb30@ipxe.org>
Tue, 4 Mar 2014 12:54:21 +0000 (12:54 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 4 Mar 2014 13:02:58 +0000 (13:02 +0000)
commitdb67de6f31a062dc1995d4561be83cd51609d6c4
tree642ebb50e33c2a720d40769dd59010ce0d5b8e05
parentff1e7fc72b138fe66de1452a311b7e871f33e201
[tcpip] Provide tcpip_netdev() to determine the transmitting network device

Provide the function tcpip_netdev() to allow external code to
determine the transmitting network device for a given socket address.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/tcpip.h
src/net/ipv4.c
src/net/ipv6.c
src/net/tcpip.c