• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/netipsec/

Lines Matching refs:mbuf

50 #include <sys/mbuf.h>
623 static struct mbuf *key_gather_mbuf(struct mbuf *,
625 static int key_spdadd(struct socket *, struct mbuf *,
628 static int key_spddelete(struct socket *, struct mbuf *,
630 static int key_spddelete2(struct socket *, struct mbuf *,
632 static int key_spdget(struct socket *, struct mbuf *,
634 static int key_spdflush(struct socket *, struct mbuf *,
636 static int key_spddump(struct socket *, struct mbuf *,
638 static struct mbuf *key_setdumpsp(struct secpolicy *,
640 static struct mbuf *key_sp2mbuf(struct secpolicy *);
656 static int key_updateaddresses(struct socket *, struct mbuf *,
659 static struct mbuf *key_setdumpsa(struct secasvar *, u_int8_t,
661 static struct mbuf *key_setsadbmsg(u_int8_t, u_int16_t, u_int8_t,
663 static struct mbuf *key_setsadbsa(struct secasvar *);
664 static struct mbuf *key_setsadbaddr(u_int16_t,
666 static struct mbuf *key_setsadbxport(u_int16_t, u_int16_t);
667 static struct mbuf *key_setsadbxtype(u_int16_t);
668 static struct mbuf *key_setsadbxsa2(u_int8_t, u_int32_t, u_int32_t);
669 static struct mbuf *key_setsadbxsareplay(u_int32_t);
670 static struct mbuf *key_setsadbxpolicy(u_int16_t, u_int8_t,
692 static int key_getspi(struct socket *, struct mbuf *,
695 static int key_update(struct socket *, struct mbuf *,
697 static int key_add(struct socket *, struct mbuf *,
700 static struct mbuf *key_getmsgbuf_x1(struct mbuf *,
702 static int key_delete(struct socket *, struct mbuf *,
704 static int key_delete_all(struct socket *, struct mbuf *,
706 static int key_get(struct socket *, struct mbuf *,
710 static struct mbuf *key_getcomb_ealg(void);
711 static struct mbuf *key_getcomb_ah(void);
712 static struct mbuf *key_getcomb_ipcomp(void);
713 static struct mbuf *key_getprop(const struct secasindex *);
722 static int key_acquire2(struct socket *, struct mbuf *,
724 static int key_register(struct socket *, struct mbuf *,
727 static int key_flush(struct socket *, struct mbuf *,
729 static int key_dump(struct socket *, struct mbuf *,
731 static int key_promisc(struct socket *, struct mbuf *,
733 static int key_senderror(struct socket *, struct mbuf *, int);
735 static int key_align(struct mbuf *, struct sadb_msghdr *);
736 static struct mbuf *key_setlifetime(struct seclifetime *, uint16_t);
737 static struct mbuf *key_setkey(struct seckey *, uint16_t);
1266 struct mbuf *m;
1310 struct mbuf *m;
1756 static struct mbuf *
1759 struct mbuf *m;
1847 static struct mbuf *
1848 key_gather_mbuf(struct mbuf *m, const struct sadb_msghdr *mhp,
1854 struct mbuf *result = NULL, *n;
1857 IPSEC_ASSERT(m != NULL, ("null mbuf"));
1939 key_spdadd(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
1949 IPSEC_ASSERT(m != NULL, ("null mbuf"));
2067 struct mbuf *n, *mpolicy;
2159 key_spddelete(struct socket *so, struct mbuf *m,
2168 IPSEC_ASSERT(m != NULL, ("null mbuf"));
2239 struct mbuf *n;
2270 key_spddelete2(struct socket *so, struct mbuf *m,
2277 IPSEC_ASSERT(m != NULL, ("null mbuf"));
2311 struct mbuf *n, *nn;
2371 key_spdget(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
2374 struct mbuf *n;
2378 IPSEC_ASSERT(m != NULL, ("null mbuf"));
2427 struct mbuf *result = NULL, *m;
2485 key_spdflush(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
2493 IPSEC_ASSERT(m != NULL, ("null mbuf"));
2563 key_spddump(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
2567 struct mbuf *n;
2572 IPSEC_ASSERT(m != NULL, ("null mbuf"));
2624 static struct mbuf *
2628 struct mbuf *result = NULL, *m;
2731 struct mbuf *result = NULL, *m;
3534 static struct mbuf *
3539 struct mbuf *result = NULL, *tres = NULL, *m;
3741 static struct mbuf *
3745 struct mbuf *m;
3782 static struct mbuf *
3785 struct mbuf *m;
3813 static struct mbuf *
3817 struct mbuf *m;
3859 static struct mbuf *
3862 struct mbuf *m;
3889 static struct mbuf *
3892 struct mbuf *m;
3915 static struct mbuf *
3918 struct mbuf *m;
3942 static struct mbuf *
3945 struct mbuf *m;
4014 static struct mbuf *
4017 struct mbuf *m;
4813 key_getspi(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
4823 IPSEC_ASSERT(m != NULL, ("null mbuf"));
4925 struct mbuf *n, *nn;
5113 key_updateaddresses(struct socket *so, struct mbuf *m,
5120 struct mbuf *n;
5297 key_update(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
5308 IPSEC_ASSERT(m != NULL, ("null mbuf"));
5493 struct mbuf *n;
5523 key_add(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
5534 IPSEC_ASSERT(m != NULL, ("null mbuf"));
5650 struct mbuf *n;
5907 static struct mbuf *
5908 key_getmsgbuf_x1(struct mbuf *m, const struct sadb_msghdr *mhp)
5910 struct mbuf *n;
5912 IPSEC_ASSERT(m != NULL, ("null mbuf"));
5953 key_delete(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
5962 IPSEC_ASSERT(m != NULL, ("null mbuf"));
6029 struct mbuf *n;
6056 key_delete_all(struct socket *so, struct mbuf *m,
6090 struct mbuf *n;
6172 key_get(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
6181 IPSEC_ASSERT(m != NULL, ("null mbuf"));
6235 struct mbuf *n;
6278 static struct mbuf *
6283 struct mbuf *result = NULL, *m, *n;
6379 static struct mbuf *
6384 struct mbuf *m;
6436 static struct mbuf *
6441 struct mbuf *m;
6480 static struct mbuf *
6484 struct mbuf *m, *n;
6545 struct mbuf *result, *m;
6939 key_acquire2(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
6950 IPSEC_ASSERT(m != NULL, ("null mbuf"));
7071 key_register(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
7076 IPSEC_ASSERT(m != NULL, ("null mbuf"));
7116 struct mbuf *n;
7262 struct mbuf *result = NULL, *m;
7448 key_flush(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
7562 key_dump(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
7567 struct mbuf *n;
7572 IPSEC_ASSERT(m != NULL, ("null mbuf"));
7644 key_promisc(struct socket *so, struct mbuf *m, const struct sadb_msghdr *mhp)
7649 IPSEC_ASSERT(m != NULL, ("null mbuf"));
7691 static int (*key_typesw[])(struct socket *, struct mbuf *,
7721 * I think to be dealed with mbuf directly.
7730 key_parse(struct mbuf *m, struct socket *so)
7739 IPSEC_ASSERT(m != NULL, ("null mbuf"));
7779 struct mbuf *n;
7799 /* align the mbuf chain so that extensions are in contiguous region. */
7985 key_senderror(struct socket *so, struct mbuf *m, int code)
7990 ("mbuf too small, len %u", m->m_len));
8003 key_align(struct mbuf *m, struct sadb_msghdr *mhp)
8005 struct mbuf *n;
8011 IPSEC_ASSERT(m != NULL, ("null mbuf"));
8014 ("mbuf too small, len %u", m->m_len));
8429 key_sa_recordxfer(struct secasvar *sav, struct mbuf *m)
8432 IPSEC_ASSERT(m != NULL, ("Null mbuf"));
8464 * structure within an mbuf, suitable for sending up to a waiting
8471 * a valid mbuf or NULL indicating an error
8475 static struct mbuf *
8478 struct mbuf *m;
8503 * into a PF_KEY structure within an mbuf, suitable for sending up to
8511 * a valid mbuf or NULL indicating an error
8515 static struct mbuf *
8518 struct mbuf *m = NULL;