source: rtems/cpukit/libnetworking/rtems/bootp.h @ 6c18c97

4.115
Last change on this file since 6c18c97 was 6c18c97, checked in by Sebastien Bourdeauducq <sebastien@…>, on 05/22/12 at 10:06:20

network/bootp: PR2031: Add and use header file

  • Property mode set to 100644
File size: 1004 bytes
Line 
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
9extern "C"
10{
11#endif
12
13struct bootp_packet;
14struct proc;
15struct ifreq;
16struct socket;
17struct sockaddr_in;
18
19bool bootpc_init(bool, bool);
20
21int bootpc_call(
22     struct bootp_packet *call,
23     struct bootp_packet *reply,
24     struct proc *procp);
25int bootpc_fakeup_interface(struct ifreq *ireq,
26                                    struct socket *so,
27                                    struct proc *procp);
28int 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
35void *bootp_strdup_realloc(char *dst, const char *src);
36
37#if __cplusplus
38}
39#endif
40
41#endif
Note: See TracBrowser for help on using the repository browser.