RTEMS CPU Kit with SuperCore  4.11.3
bootp.h
Go to the documentation of this file.
1 /* Subroutines from cpukit/libnetworking/nfs/bootp_subr.c */
2 
3 #if !defined (__RTEMS_BOOTP_H__)
4 #define __RTEMS_BOOTP_H__
5 
6 #include <stdbool.h>
7 
8 #if __cplusplus
9 extern "C"
10 {
11 #endif
12 
13 struct bootp_packet;
14 struct proc;
15 struct ifreq;
16 struct socket;
17 struct sockaddr_in;
18 
19 bool bootpc_init(bool, bool);
20 
21 int bootpc_call(
22  struct bootp_packet *call,
23  struct bootp_packet *reply,
24  struct proc *procp);
25 int bootpc_fakeup_interface(struct ifreq *ireq,
26  struct socket *so,
27  struct proc *procp);
28 int bootpc_adjust_interface(struct ifreq *ireq,
29  struct socket *so,
30  struct sockaddr_in *myaddr,
31  struct sockaddr_in *netmask,
32  struct sockaddr_in *gw,
33  struct proc *procp);
34 
35 void *bootp_strdup_realloc(char *dst, const char *src);
36 
37 #if __cplusplus
38 }
39 #endif
40 
41 #endif
Definition: bootp_subr.c:89
Definition: in.h:74
Definition: socketvar.h:49
Definition: proc.h:5