diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2011-04-10 05:31:38 -0700 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2011-04-12 14:41:00 -0700 |
commit | e0428a557da2ec94363dd5f8be842df198c656c3 (patch) | |
tree | 7fa3653d8fe2161139b9ab12b3f68d32d033ab27 | |
parent | 0290be0cbaae619892c91def3cd13c54614a9dbb (diff) | |
download | syslinux-e0428a557da2ec94363dd5f8be842df198c656c3.tar.gz syslinux-e0428a557da2ec94363dd5f8be842df198c656c3.tar.xz syslinux-e0428a557da2ec94363dd5f8be842df198c656c3.zip |
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 <ebiederm@xmission.com>
-rw-r--r-- | core/fs/pxe/pxe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fs/pxe/pxe.h b/core/fs/pxe/pxe.h index 45e5008e..274f1c9f 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 */ |