/src/sys/arch/mvme68k/stand/sboot/ |
etherfun.h | 45 /* tftp header */ 48 #define FTP_PORT 69 /* Standard TFTP port number */ 118 struct tftphr *tftp = (struct tftphr *)(buf + sizeof(struct ether_header) + variable in typeref:struct:tftphr *
|
/src/sys/external/bsd/ipf/netinet/ |
ip_tftp_pxy.c | 62 * TFTP application proxy initialization. 71 MUTEX_INIT(&tftpfr.fr_lock, "TFTP proxy rule lock"); 238 MUTEX_INIT(&ipn->in_lock, "tftp proxy NAT rule"); 254 tftpinfo_t *tftp; local in function:ipf_p_tftp_del 256 tftp = aps->aps_data; 257 if (tftp != NULL) { 258 tftp->ti_rule->in_flags |= IPN_DELETE; 259 ipf_nat_rule_deref(softc, &tftp->ti_rule); 265 * Setup for a new TFTP proxy.
|
/src/sys/kern/ |
subr_tftproot.c | 35 * Download the root RAMdisk through TFTP at root mount time 68 * Copied from <lib/libsa/tftp.h> 175 * Strip leading "tftp:" 177 #define PREFIX "tftp:" 212 struct tftphdr *tftp; local in function:tftproot_getfile 216 size_t hdrlen = sizeof(*tftp) - sizeof(tftp->th_data); 241 * Set send buffer, prepare the TFTP packet 244 packetlen = sizeof(tftp->th_opcode) + namelen + sizeof(octetstr); 258 tftp = mtod(m_outbuf, struct tftphdr *) 352 struct tftphdr *tftp; local in function:tftproot_recv [all...] |
/src/libexec/tftpd/ |
tftpd.c | 56 #include <arpa/tftp.h> 119 __dead static void tftp(struct tftphdr *, int); 339 * to listening to the tftp port, and the next request 345 * tftp port before we do our receive, so more than one 443 tftp(tp, n); 549 * Maximum file even with extended tftp is 65535 blocks of 597 * Get options for an extended tftp session. Stuff the ones we 650 tftp(struct tftphdr *tp, int size) function in typeref:typename:void 691 * now dealing with an extended tftp session. Note that if we 693 * have an extended tftp session. If we get options, we fil [all...] |