Displaying 3 results from an estimated 3 matches for "tftp_blksize".
2013 Dec 01
0
[PATCH] core: Bad read of file size over TFTP
...al;
char data[];
};
-#define IFIELD(x) offsetof(struct inode, x)
-#define PFIELD(x) (offsetof(struct inode, pvt) + \
- offsetof(struct pxe_pvt_inode, x))
-
-static const struct tftp_options tftp_options[] =
-{
- { "tsize", IFIELD(size) },
- { "blksize", PFIELD(tftp_blksize) },
-};
-static const int tftp_nopts = sizeof tftp_options / sizeof tftp_options[0];
-
static void tftp_error(struct inode *file, uint16_t errnum,
const char *errstr);
@@ -209,8 +194,6 @@ void tftp_open(struct url_info *url, int flags, struct inode *inode,
static const char rrq_ta...
2003 Jun 20
3
pxelinux implementation questions
...ielding a
maximum size of 32MB. Yet, from the revision history, it seems pxelinux
can handle bigger images? (I don't see any wrap around handling though
I maybe not looking hard enough in seachdir() - from the looks of it,
the only way I can see pxelinux downloading a bigger image is if the
tftp_blksize is negotiated greater than 512, right?)
3) Why does pxelinux require tsize? Does it make a difference what
size the file is as long as the last packet returns < 512?
Sorry if these topics have been covered before (I did attempt to search
through the archives for answers - I got bits and piec...
2013 Mar 28
1
Makefile race condition with parallel make
When attempting to build syslinux in parallel (make -j5), I encountered
the following error at the end:
rm -f liblpxelinux.a
ar cq liblpxelinux.a rawcon.o ./fs/pxe/dhcp_option.o ./fs/pxe/pxe.o ./fs/pxe/tftp.o ./fs/pxe/urlparse.o ./lwip/src/netif/ethernetif.o ./lwip/src/netif/etharp.o ./lwip/src/netif/slipif.o ./lwip/src/netif/ppp/md5.o ./lwip/src/netif/ppp/randm.o ./lwip/src/netif/ppp/chpms.o