RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Functions | Variables
bootp_subr.c File Reference
#include <sys/param.h>
#include <sys/ucred.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
#include <sys/sockio.h>
#include <sys/mount.h>
#include <sys/mbuf.h>
#include <sys/proc.h>
#include <sys/reboot.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <net/if.h>
#include <net/route.h>
#include <netinet/in.h>
#include <net/if_types.h>
#include <net/if_dl.h>
#include <netinet/if_ether.h>
#include <nfs/nfsproto.h>
#include <nfsclient/nfsargs.h>
#include <nfsclient/nfsdiskless.h>
#include <nfs/xdr_subs.h>
#include <fcntl.h>
#include <rtems/mkrootfs.h>
#include <rtems/rtems_bsdnet.h>
#include <rtems/bsdnet/servers.h>
#include <inttypes.h>
#include "rtems/bootp.h"
Include dependency graph for bootp_subr.c:

Data Structures

struct  bootp_packet
 

Macros

#define BOOTP_MIN_LEN   300 /* Minimum size of bootp udp packet */
 
#define MAX_RESEND_DELAY   5 /* seconds */
 
#define IPPORT_BOOTPC   68
 
#define IPPORT_BOOTPS   67
 
#define EALEN   6
 
#define MKFILE_MODE   (S_IRUSR | S_IWUSR | S_IWGRP | S_IRGRP | S_IROTH)
 

Functions

void * bootp_strdup_realloc (char *dst, const char *src)
 
int bootpc_call (struct bootp_packet *call, struct bootp_packet *reply, struct proc *procp)
 
int bootpc_fakeup_interface (struct ifreq *ireq, struct socket *so, struct proc *procp)
 
int bootpc_adjust_interface (struct ifreq *ireq, struct socket *so, struct sockaddr_in *myaddr, struct sockaddr_in *netmask, struct sockaddr_in *gw, struct proc *procp)
 
bool bootpc_init (bool update_files, bool forever)
 

Variables

int nfs_diskless_valid
 
struct nfsv3_diskless nfsv3_diskless