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 |
---|
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 |
---|
Note: See
TracBrowser
for help on using the repository browser.