mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 21:29:45 +08:00

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.
17 lines
229 B
C
17 lines
229 B
C
|
|
#include <sys/types.h>
|
|
#include <sys/param.h>
|
|
|
|
#include <netipsec/ipsec.h>
|
|
|
|
#include <net/pfkeyv2.h>
|
|
|
|
#include "ipsec_strerror.h"
|
|
|
|
int
|
|
ipsec_get_policylen(policy)
|
|
caddr_t policy;
|
|
{
|
|
return policy ? PFKEY_EXTLEN(policy) : -1;
|
|
}
|