55-freebsd-126-freebsd-12
Last change
on this file since eae664e was
0237319,
checked in by Sebastian Huber <sebastian.huber@…>, on 05/23/17 at 11:18:31
|
Update due to Newlib 2017-06-07 changes
The following files are now provided by Newlib:
- arpa/inet.h
- net/if.h
- netinet/in.h
- netinet/tcp.h
- sys/socket.h
- sys/uio.h
- sys/un.h
The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.
Update #2833.
|
-
Property mode set to
100644
|
File size:
229 bytes
|
Line | |
---|
1 | |
---|
2 | #include <sys/types.h> |
---|
3 | #include <sys/param.h> |
---|
4 | |
---|
5 | #include <netipsec/ipsec.h> |
---|
6 | |
---|
7 | #include <net/pfkeyv2.h> |
---|
8 | |
---|
9 | #include "ipsec_strerror.h" |
---|
10 | |
---|
11 | int |
---|
12 | ipsec_get_policylen(policy) |
---|
13 | caddr_t policy; |
---|
14 | { |
---|
15 | return policy ? PFKEY_EXTLEN(policy) : -1; |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.