Home
last modified time | relevance | path

Searched refs:sadb_msg (Results 1 – 12 of 12) sorted by relevance

/external/ipsec-tools/src/libipsec/
Dlibpfkey.h47 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 *));
Dpfkey.c381 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 …]
Dpfkey_dump.c114 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()
Dtest-policy.c231 struct sadb_msg *m; in test2()
322 struct sadb_msg *msg;
Dkey_debug.c108 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/
Dpfkey.c132 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 …]
Dsession.c489 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()
Disakmp_inf.c1133 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));
Dracoonctl.c1605 struct sadb_msg *msg = (struct sadb_msg *)buf;
1624 msg = (struct sadb_msg *)((caddr_t)msg +
Disakmp.c3191 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/
Dpfkeyv2.h14 struct sadb_msg { struct
/external/ipsec-tools/
Dsetup.c173 struct sadb_msg *p; in flush()