Home
last modified time | relevance | path

Searched refs:sadb_ext (Results 1 – 8 of 8) sorted by relevance

/NextBSD/sys/netipsec/
HDkey_debug.c65 static void kdebug_sadb_prop(struct sadb_ext *);
66 static void kdebug_sadb_identity(struct sadb_ext *);
67 static void kdebug_sadb_supported(struct sadb_ext *);
68 static void kdebug_sadb_lifetime(struct sadb_ext *);
69 static void kdebug_sadb_sa(struct sadb_ext *);
70 static void kdebug_sadb_address(struct sadb_ext *);
71 static void kdebug_sadb_key(struct sadb_ext *);
72 static void kdebug_sadb_x_sa2(struct sadb_ext *);
88 struct sadb_ext *ext; in kdebug_sadb()
103 ext = (struct sadb_ext *)((caddr_t)base + sizeof(struct sadb_msg)); in kdebug_sadb()
[all …]
HDkey_debug.h64 struct sadb_ext;
66 extern void kdebug_sadb_x_policy(struct sadb_ext *);
HDkey.c411 struct sadb_ext *ext[SADB_EXT_MAX + 1];
548 static int key_validate_ext(const struct sadb_ext *, int);
7449 struct sadb_ext *ext; in key_align()
7463 mhp->ext[0] = (struct sadb_ext *)mhp->msg; /*XXX backward compat */ in key_align()
7468 n = m_pulldown(m, off, sizeof(struct sadb_ext), &toff); in key_align()
7473 ext = (struct sadb_ext *)(mtod(n, caddr_t) + toff); in key_align()
7537 ext = (struct sadb_ext *)(mtod(n, caddr_t) + toff); in key_align()
7554 key_validate_ext(const struct sadb_ext *ext, int len) in key_validate_ext()
HDipsec.c996 kdebug_sadb_x_policy((struct sadb_ext *)xpl)); in ipsec_set_policy_internal()
/NextBSD/sbin/setkey/
HDparse.y69 static int setvarbuf(char *, int *, struct sadb_ext *, int, caddr_t, int);
857 setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
871 setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
976 setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
989 setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
1047 (struct sadb_ext *)&m_key, sizeof(m_key),
1063 (struct sadb_ext *)&m_key, sizeof(m_key),
1155 setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
1168 setvarbuf(buf, &l, (struct sadb_ext *)&m_addr,
1251 struct sadb_ext *ebuf;
/NextBSD/sys/net/
HDpfkeyv2.h91 struct sadb_ext { struct
427 PFKEY_UNUNIT64(((struct sadb_ext *)(msg))->sadb_ext_len)
/NextBSD/lib/libipsec/
HDtest-policy.c144 kdebug_sadb_x_policy((struct sadb_ext *)buf);
HDpfkey.c1718 struct sadb_ext *ext;
1743 ext = (struct sadb_ext *)p;