Searched refs:sadb_msg (Results 1 – 12 of 12) sorted by relevance
/external/ipsec-tools/src/libipsec/ |
D | libpfkey.h | 47 struct sadb_msg; 48 extern void pfkey_sadump __P((struct sadb_msg *)); 49 extern void pfkey_sadump_withports __P((struct sadb_msg *)); 50 extern void pfkey_spdump __P((struct sadb_msg *)); 51 extern void pfkey_spdump_withports __P((struct sadb_msg *)); 109 void kdebug_sadb __P((struct sadb_msg *)); 130 int pfkey_set_supported __P((struct sadb_msg *, int)); 159 struct sadb_msg *pfkey_recv __P((int)); 160 int pfkey_send __P((int, struct sadb_msg *, int)); 161 int pfkey_align __P((struct sadb_msg *, caddr_t *));
|
D | pfkey.c | 381 struct sadb_msg *newmsg; in pfkey_send_getspi() 414 len = sizeof(struct sadb_msg) in pfkey_send_getspi() 426 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_getspi() 566 struct sadb_msg *newmsg; in pfkey_send_delete_all() 594 len = sizeof(struct sadb_msg) in pfkey_send_delete_all() 600 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_delete_all() 703 struct sadb_msg *newmsg; in pfkey_recv_register() 739 pfkey_set_supported(struct sadb_msg *msg, int tlen) in pfkey_set_supported() 754 p += sizeof(struct sadb_msg); in pfkey_set_supported() 1075 struct sadb_msg *newmsg; in pfkey_send_migrate() [all …]
|
D | pfkey_dump.c | 114 static void pfkey_sadump1(struct sadb_msg *, int); 115 static void pfkey_spdump1(struct sadb_msg *, int); 220 struct sadb_msg *m; in pfkey_sadump() 227 struct sadb_msg *m; in pfkey_sadump_withports() 234 struct sadb_msg *m; in pfkey_sadump1() 471 struct sadb_msg *m; in pfkey_spdump() 478 struct sadb_msg *m; in pfkey_spdump_withports() 485 struct sadb_msg *m; in pfkey_spdump1()
|
D | test-policy.c | 231 struct sadb_msg *m; in test2() 322 struct sadb_msg *msg;
|
D | key_debug.c | 108 struct sadb_msg *base; in kdebug_sadb() 124 tlen = PFKEY_UNUNIT64(base->sadb_msg_len) - sizeof(struct sadb_msg); 125 ext = (void *)((caddr_t)(void *)base + sizeof(struct sadb_msg));
|
/external/ipsec-tools/src/racoon/ |
D | pfkey.c | 132 static struct sadb_msg *pk_recv __P((int, int *)); 198 struct sadb_msg *msg; in pfkey_handler() 205 msg = (struct sadb_msg *)pk_recv(lcconf->sock_pfkey, &len); in pfkey_handler() 254 msg = (struct sadb_msg *)mhp[0]; in pfkey_handler() 291 struct sadb_msg *msg = NULL; 931 struct sadb_msg *msg; 947 msg = (struct sadb_msg *)mhp[0]; 1173 struct sadb_msg *msg; 1194 msg = (struct sadb_msg *)mhp[0]; 1463 struct sadb_msg *msg; [all …]
|
D | session.c | 489 struct sadb_msg *msg, *end, *next; in check_flushsa() 501 msg = (struct sadb_msg *)buf->v; in check_flushsa() 502 end = (struct sadb_msg *)(buf->v + buf->l); in check_flushsa() 509 next = (struct sadb_msg *)((caddr_t)msg + PFKEY_UNUNIT64(msg->sadb_msg_len)); in check_flushsa()
|
D | isakmp_inf.c | 1133 struct sadb_msg *msg, *next, *end; 1158 msg = (struct sadb_msg *)buf->v; 1159 end = (struct sadb_msg *)(buf->v + buf->l); 1164 next = (struct sadb_msg *)((caddr_t)msg + (msg->sadb_msg_len << 3)); 1287 struct sadb_msg *msg, *next, *end; 1361 msg = (struct sadb_msg *)buf->v; 1362 end = (struct sadb_msg *)(buf->v + buf->l); 1367 next = (struct sadb_msg *)((caddr_t)msg + (msg->sadb_msg_len << 3));
|
D | racoonctl.c | 1605 struct sadb_msg *msg = (struct sadb_msg *)buf; 1624 msg = (struct sadb_msg *)((caddr_t)msg +
|
D | isakmp.c | 3191 struct sadb_msg *msg, *next, *end; 3220 msg = (struct sadb_msg *)buf->v; 3221 end = (struct sadb_msg *)(buf->v + buf->l); 3226 next = (struct sadb_msg *)((caddr_t)msg + (msg->sadb_msg_len << 3));
|
/external/kernel-headers/original/uapi/linux/ |
D | pfkeyv2.h | 14 struct sadb_msg { struct
|
/external/ipsec-tools/ |
D | setup.c | 173 struct sadb_msg *p; in flush()
|