summaryrefslogtreecommitdiffstats
path: root/src/net/tcp.c
diff options
context:
space:
mode:
authorMichael Brown2006-06-16 02:19:46 +0200
committerMichael Brown2006-06-16 02:19:46 +0200
commitbbd9e2806115961a1d1d218a3eeb31924a114cfd (patch)
tree90baf335d6ee455ff30d0d4554fd89b95d288418 /src/net/tcp.c
parentAdded iSCSI boot test code (diff)
downloadipxe-bbd9e2806115961a1d1d218a3eeb31924a114cfd.tar.gz
ipxe-bbd9e2806115961a1d1d218a3eeb31924a114cfd.tar.xz
ipxe-bbd9e2806115961a1d1d218a3eeb31924a114cfd.zip
Simplify TX datapath.
Diffstat (limited to 'src/net/tcp.c')
-rw-r--r--src/net/tcp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/tcp.c b/src/net/tcp.c
index 06ab2eea..5027678b 100644
--- a/src/net/tcp.c
+++ b/src/net/tcp.c
@@ -176,9 +176,8 @@ static void tcp_periodic ( void ) {
pkb_reserve ( pkb, MAX_LL_HEADER_LEN );
pkb_put ( pkb, uip_len );
memcpy ( pkb->data, uip_buf, uip_len );
- pkb->net_protocol = &ipv4_protocol;
-
- net_transmit ( pkb );
+
+ ipv4_uip_transmit ( pkb );
}
}
}