summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/bootp.h
diff options
context:
space:
mode:
authorStavros Passas <stavros.passas@movidius.com>2017-01-20 09:22:46 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-08 10:06:33 +0200
commit258534718910c903451f1fe2e8fe1197c224c8e7 (patch)
tree8940058ea0c6a816617b63b5872508e47ca2dd42 /cpukit/libnetworking/rtems/bootp.h
parentbsps/arm: Fix ARMv7-M interrupt suppport (diff)
downloadrtems-258534718910c903451f1fe2e8fe1197c224c8e7.tar.bz2
network: Fix DHCP client protocol
Close #2877.
Diffstat (limited to 'cpukit/libnetworking/rtems/bootp.h')
-rw-r--r--cpukit/libnetworking/rtems/bootp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/libnetworking/rtems/bootp.h b/cpukit/libnetworking/rtems/bootp.h
index d8eeb76f8f..4891430fce 100644
--- a/cpukit/libnetworking/rtems/bootp.h
+++ b/cpukit/libnetworking/rtems/bootp.h
@@ -3,6 +3,7 @@
#if !defined (__RTEMS_BOOTP_H__)
#define __RTEMS_BOOTP_H__
+#include <stddef.h>
#include <stdbool.h>
#if __cplusplus
@@ -21,7 +22,9 @@ bool bootpc_init(bool, bool);
int bootpc_call(
struct bootp_packet *call,
struct bootp_packet *reply,
- struct proc *procp);
+ struct proc *procp,
+ const void *exp_vend,
+ size_t exp_vend_len);
int bootpc_fakeup_interface(struct ifreq *ireq,
struct socket *so,
struct proc *procp);