/netbsd/crypto/dist/ipsec-tools/src/libipsec/ |
H A D | libpfkey.h | 47 struct sadb_msg; 48 extern void pfkey_sadump(struct sadb_msg *); 49 extern void pfkey_sadump_withports(struct sadb_msg *); 50 extern void pfkey_spdump(struct sadb_msg *); 51 extern void pfkey_spdump_withports(struct sadb_msg *); 112 void kdebug_sadb(struct sadb_msg *); 137 int pfkey_set_supported(struct sadb_msg *, int); 176 struct sadb_msg *pfkey_recv(int); 177 int pfkey_send(int, struct sadb_msg *, int); 178 int pfkey_align(struct sadb_msg *, caddr_t *);
|
H A D | pfkey.c | 374 struct sadb_msg *newmsg; in pfkey_send_getspi_nat() 601 struct sadb_msg *newmsg; in pfkey_send_delete_all() 738 struct sadb_msg *newmsg; in pfkey_recv_register() 1110 struct sadb_msg *newmsg; in pfkey_send_migrate() 1213 struct sadb_msg *newmsg; in pfkey_send_x1() 1487 struct sadb_msg *newmsg; in pfkey_send_x2() 1570 struct sadb_msg *newmsg; in pfkey_send_x3() 1632 struct sadb_msg *newmsg; in pfkey_send_x4() 1871 struct sadb_msg * 2072 struct sadb_msg *msg; in pfkey_check() [all …]
|
H A D | pfkey_dump.c | 114 static void pfkey_sadump1(struct sadb_msg *, int); 115 static void pfkey_spdump1(struct sadb_msg *, int); 225 pfkey_sadump(struct sadb_msg *m) in pfkey_sadump() 231 pfkey_sadump_withports(struct sadb_msg *m) in pfkey_sadump_withports() 237 pfkey_sadump1(struct sadb_msg *m, int withports) in pfkey_sadump1() 483 pfkey_spdump(struct sadb_msg *m) in pfkey_spdump() 489 pfkey_spdump_withports(struct sadb_msg *m) in pfkey_spdump_withports() 495 pfkey_spdump1(struct sadb_msg *m, int withports) in pfkey_spdump1()
|
H A D | key_debug.c | 114 kdebug_sadb(struct sadb_msg *base) in kdebug_sadb() 130 tlen = PFKEY_UNUNIT64(base->sadb_msg_len) - sizeof(struct sadb_msg); in kdebug_sadb() 131 ext = (void *)((caddr_t)(void *)base + sizeof(struct sadb_msg)); in kdebug_sadb()
|
/netbsd/crypto/dist/ipsec-tools/src/setkey/ |
H A D | setkey.c | 382 struct sadb_msg msg; in sendkeyshort() 399 struct sadb_msg msg; in promisc() 417 struct sadb_msg *base; in promisc() 426 base = (struct sadb_msg *)rbuf; in promisc() 469 struct sadb_msg msg, *m; in sendkeymsg_spigrep() 531 m = (struct sadb_msg *)rbuf; in sendkeymsg_spigrep() 623 struct sadb_msg *msg; in sendkeymsg() 664 msg = (struct sadb_msg *)rbuf; in sendkeymsg() 836 struct sadb_msg *msg; in fileproc() 865 msg = (struct sadb_msg *)p; in fileproc() [all …]
|
H A D | parse.y | 279 struct sadb_msg msg; 289 struct sadb_msg msg; 737 struct sadb_msg msg; 748 struct sadb_msg msg; 973 struct sadb_msg *msg; in setkeymsg_spdaddr() 994 l = sizeof(struct sadb_msg); in setkeymsg_spdaddr() 1115 struct sadb_msg *msg; in setkeymsg_spdaddr_tag() 1126 l = sizeof(struct sadb_msg); in setkeymsg_spdaddr_tag() 1154 struct sadb_msg *msg; in setkeymsg_addr() 1173 l = sizeof(struct sadb_msg); in setkeymsg_addr() [all …]
|
/netbsd/sys/netipsec/ |
H A D | keysock.c | 109 struct sadb_msg *msg; in key_output() 123 if (len < sizeof(struct sadb_msg)) { in key_output() 129 if (m->m_len < sizeof(struct sadb_msg)) { in key_output() 142 msg = mtod(m, struct sadb_msg *); in key_output() 176 struct sadb_msg *pmsg; in key_sendup0() 187 pmsg = mtod(m, struct sadb_msg *); in key_sendup0() 257 if (m->m_len < sizeof(struct sadb_msg)) { in _key_sendup_mbuf() 259 m = m_pullup(m, sizeof(struct sadb_msg)); in _key_sendup_mbuf() 268 if (m->m_len >= sizeof(struct sadb_msg)) { in _key_sendup_mbuf() 269 struct sadb_msg *msg; in _key_sendup_mbuf() [all …]
|
H A D | key_debug.h | 70 struct sadb_msg; 72 void kdebug_sadb(const struct sadb_msg *);
|
H A D | key.c | 651 struct sadb_msg *msg; in key_fill_replymsg() 655 msg = mtod(m, struct sadb_msg *); in key_fill_replymsg() 2821 struct sadb_msg *newmsg; in key_api_spdflush() 2860 newmsg = mtod(m, struct sadb_msg *); in key_api_spdflush() 4241 struct sadb_msg *p; in key_setsadbmsg() 4254 p = mtod(m, struct sadb_msg *); in key_setsadbmsg() 7553 struct sadb_msg *newmsg; in key_api_flush() 7867 struct sadb_msg *msg; in key_parse() 7886 msg = mtod(m, struct sadb_msg *); in key_parse() 8094 struct sadb_msg *msg; in key_senderror() [all …]
|
H A D | key.h | 51 struct sadb_msg *msg;
|
H A D | key_debug.c | 99 kdebug_sadb(const struct sadb_msg *base) in kdebug_sadb() 115 tlen = PFKEY_UNUNIT64(base->sadb_msg_len) - sizeof(struct sadb_msg); in kdebug_sadb()
|
/netbsd/crypto/dist/ipsec-tools/src/racoon/ |
H A D | pfkey.c | 205 struct sadb_msg *msg; in pfkey_handler() 305 struct sadb_msg *msg = NULL; 999 struct sadb_msg *msg; 1252 struct sadb_msg *msg; 1532 struct sadb_msg *msg; 1598 struct sadb_msg *msg; 1718 struct sadb_msg *msg; 1982 struct sadb_msg *msg; 2725 struct sadb_msg *msg; 3565 struct sadb_msg *newmsg; [all …]
|
H A D | isakmp_inf.c | 1081 struct sadb_msg *msg, *next, *end; 1103 msg = (struct sadb_msg *)buf->v; 1104 end = (struct sadb_msg *)(buf->v + buf->l); 1109 next = (struct sadb_msg *)((caddr_t)msg + (msg->sadb_msg_len << 3)); 1211 struct sadb_msg *msg, *next, *end; 1287 msg = (struct sadb_msg *)buf->v; 1288 end = (struct sadb_msg *)(buf->v + buf->l); 1294 next = (struct sadb_msg *)((caddr_t)msg + (msg->sadb_msg_len << 3));
|
H A D | racoonctl.c | 1482 struct sadb_msg *msg = (struct sadb_msg *)buf; 1501 msg = (struct sadb_msg *)((caddr_t)msg +
|
H A D | isakmp.c | 3253 struct sadb_msg *msg, *next, *end; 3282 msg = (struct sadb_msg *)buf->v; 3283 end = (struct sadb_msg *)(buf->v + buf->l); 3288 next = (struct sadb_msg *)((caddr_t)msg + (msg->sadb_msg_len << 3));
|
/netbsd/sys/net/ |
H A D | if_ipsec.c | 114 static inline void if_ipsec_set_sadb_msg(struct sadb_msg *, uint16_t, uint8_t); 115 static inline void if_ipsec_set_sadb_msg_add(struct sadb_msg *, uint16_t); 116 static inline void if_ipsec_set_sadb_msg_del(struct sadb_msg *, uint16_t); 1731 if_ipsec_set_sadb_msg(struct sadb_msg *msg, uint16_t extlen, uint8_t msgtype) in if_ipsec_set_sadb_msg() 1747 if_ipsec_set_sadb_msg_add(struct sadb_msg *msg, uint16_t extlen) in if_ipsec_set_sadb_msg_add() 1754 if_ipsec_set_sadb_msg_del(struct sadb_msg *msg, uint16_t extlen) in if_ipsec_set_sadb_msg_del() 1835 struct sadb_msg msg; in if_ipsec_add_sp0() 1985 struct sadb_msg msg; in if_ipsec_del_sp0()
|
H A D | pfkeyv2.h | 84 struct sadb_msg { struct
|
/netbsd/sbin/route/ |
H A D | rtutil.c | 176 msg = (struct sadb_msg *)next; in p_rttables()
|
/netbsd/crypto/dist/ipsec-tools/src/racoon/rfc/ |
H A D | rfc2367.txt | 633 struct sadb_msg { 643 /* sizeof(struct sadb_msg) == 16 */ 3284 struct sadb_msg {
|