diff options
| author | Michael Brown | 2006-08-01 16:22:04 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-08-01 16:22:04 +0200 |
| commit | 1ebb68e49a4330107fa3dd16bab0f418df89f082 (patch) | |
| tree | c2b70e99e2ac692d603c3cb7989ae93083bee0fd /src/net/tcpip.c | |
| parent | Renamed tcpip_if.[ch] to tcpip.[ch] (diff) | |
| download | ipxe-1ebb68e49a4330107fa3dd16bab0f418df89f082.tar.gz ipxe-1ebb68e49a4330107fa3dd16bab0f418df89f082.tar.xz ipxe-1ebb68e49a4330107fa3dd16bab0f418df89f082.zip | |
Renamed trans_{rx,tx}() to tcpip_{rx,tx}(), since they are specific to
the TCP/IP protocol suite (rather than being general transport-layer
functions).
Diffstat (limited to 'src/net/tcpip.c')
| -rw-r--r-- | src/net/tcpip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tcpip.c b/src/net/tcpip.c index 47af9d164..949a1694e 100644 --- a/src/net/tcpip.c +++ b/src/net/tcpip.c @@ -70,7 +70,7 @@ struct tcpip_protocol* find_tcpip_protocol ( uint8_t trans_proto ) { * * This function expects a transport-layer segment from the network-layer */ -void trans_rx ( struct pk_buff *pkb, uint8_t trans_proto, struct in_addr *src, +void tcpip_rx ( struct pk_buff *pkb, uint8_t trans_proto, struct in_addr *src, struct in_addr *dest ) { struct tcpip_protocol *tcpip; @@ -90,7 +90,7 @@ void trans_rx ( struct pk_buff *pkb, uint8_t trans_proto, struct in_addr *src, * @v sock Destination socket address * @ret Status */ -int trans_tx ( struct pk_buff *pkb, struct tcpip_protocol *tcpip, +int tcpip_tx ( struct pk_buff *pkb, struct tcpip_protocol *tcpip, struct sockaddr *sock ) { /* Identify the network layer protocol and send it using xxx_tx() */ |
