From e0428a557da2ec94363dd5f8be842df198c656c3 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Sun, 10 Apr 2011 05:31:38 -0700 Subject: [PATCH] core: pxe: Add a netconn socket to the pxe private inode Now that we are using lwip, all implementations of transfer protocols will need a netconn, so add it to the pxe inode. Signed-off-by: Eric W. Biederman --- core/fs/pxe/pxe.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/fs/pxe/pxe.h b/core/fs/pxe/pxe.h index 45e5008..274f1c9 100644 --- a/core/fs/pxe/pxe.h +++ b/core/fs/pxe/pxe.h @@ -149,10 +149,12 @@ struct bootp_t { uint8_t options[1260]; /* Vendor options */ } __attribute__ ((packed)); +struct netconn; /* * Our inode private information -- this includes the packet buffer! */ struct pxe_pvt_inode { + struct netconn *conn; /* lwip network connection */ uint16_t tftp_localport; /* Local port number (0=not in us)*/ uint16_t tftp_remoteport; /* Remote port number */ uint32_t tftp_remoteip; /* Remote IP address */ -- 2.7.4