diff options
Diffstat (limited to 'lib/libipsec/libpfkey.h')
-rw-r--r-- | lib/libipsec/libpfkey.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/lib/libipsec/libpfkey.h b/lib/libipsec/libpfkey.h index 1f25a30..79cbe7a 100644 --- a/lib/libipsec/libpfkey.h +++ b/lib/libipsec/libpfkey.h @@ -31,16 +31,16 @@ */ struct sadb_msg; -extern void pfkey_sadump __P((struct sadb_msg *)); -extern void pfkey_spdump __P((struct sadb_msg *)); +extern void pfkey_sadump(struct sadb_msg *); +extern void pfkey_spdump(struct sadb_msg *); struct sockaddr; struct sadb_alg; -int ipsec_check_keylen __P((u_int, u_int, u_int)); -int ipsec_check_keylen2 __P((u_int, u_int, u_int)); -int ipsec_get_keylen __P((u_int, u_int, struct sadb_alg *)); -u_int pfkey_set_softrate __P((u_int, u_int)); -u_int pfkey_get_softrate __P((u_int)); +int ipsec_check_keylen(u_int, u_int, u_int); +int ipsec_check_keylen2(u_int, u_int, u_int); +int ipsec_get_keylen(u_int, u_int, struct sadb_alg *); +u_int pfkey_set_softrate(u_int, u_int); +u_int pfkey_get_softrate(u_int); int pfkey_send_getspi __P((int, u_int, u_int, struct sockaddr *, struct sockaddr *, u_int32_t, u_int32_t, u_int32_t, u_int32_t)); int pfkey_send_update __P((int, u_int, u_int, struct sockaddr *, @@ -57,12 +57,12 @@ int pfkey_send_delete_all __P((int, u_int, u_int, struct sockaddr *, struct sockaddr *)); int pfkey_send_get __P((int, u_int, u_int, struct sockaddr *, struct sockaddr *, u_int32_t)); -int pfkey_send_register __P((int, u_int)); -int pfkey_recv_register __P((int)); -int pfkey_set_supported __P((struct sadb_msg *, int)); -int pfkey_send_flush __P((int, u_int)); -int pfkey_send_dump __P((int, u_int)); -int pfkey_send_promisc_toggle __P((int, int)); +int pfkey_send_register(int, u_int); +int pfkey_recv_register(int); +int pfkey_set_supported(struct sadb_msg *, int); +int pfkey_send_flush(int, u_int); +int pfkey_send_dump(int, u_int); +int pfkey_send_promisc_toggle(int, int); int pfkey_send_spdadd __P((int, struct sockaddr *, u_int, struct sockaddr *, u_int, u_int, caddr_t, int, u_int32_t)); int pfkey_send_spdadd2 __P((int, struct sockaddr *, u_int, @@ -75,16 +75,16 @@ int pfkey_send_spdupdate2 __P((int, struct sockaddr *, u_int, caddr_t, int, u_int32_t)); int pfkey_send_spddelete __P((int, struct sockaddr *, u_int, struct sockaddr *, u_int, u_int, caddr_t, int, u_int32_t)); -int pfkey_send_spddelete2 __P((int, u_int32_t)); -int pfkey_send_spdget __P((int, u_int32_t)); +int pfkey_send_spddelete2(int, u_int32_t); +int pfkey_send_spdget(int, u_int32_t); int pfkey_send_spdsetidx __P((int, struct sockaddr *, u_int, struct sockaddr *, u_int, u_int, caddr_t, int, u_int32_t)); -int pfkey_send_spdflush __P((int)); -int pfkey_send_spddump __P((int)); +int pfkey_send_spdflush(int); +int pfkey_send_spddump(int); -int pfkey_open __P((void)); -void pfkey_close __P((int)); -struct sadb_msg *pfkey_recv __P((int)); -int pfkey_send __P((int, struct sadb_msg *, int)); -int pfkey_align __P((struct sadb_msg *, caddr_t *)); -int pfkey_check __P((caddr_t *)); +int pfkey_open(void); +void pfkey_close(int); +struct sadb_msg *pfkey_recv(int); +int pfkey_send(int, struct sadb_msg *, int); +int pfkey_align(struct sadb_msg *, caddr_t *); +int pfkey_check(caddr_t *); |