• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/netkey/

Lines Matching refs:mbuf

42 #include <sys/mbuf.h>
409 static struct mbuf *key_gather_mbuf(struct mbuf *,
411 static int key_spdadd(struct socket *, struct mbuf *,
414 static int key_spddelete(struct socket *, struct mbuf *,
416 static int key_spddelete2(struct socket *, struct mbuf *,
418 static int key_spdget(struct socket *, struct mbuf *,
420 static int key_spdflush(struct socket *, struct mbuf *,
422 static int key_spddump(struct socket *, struct mbuf *,
424 static struct mbuf *key_setdumpsp(struct secpolicy *,
430 static struct secasvar *key_newsav(struct mbuf *,
437 static int key_setsaval(struct secasvar *, struct mbuf *,
440 static struct mbuf *key_setdumpsa(struct secasvar *, u_int8_t,
442 static struct mbuf *key_setsadbmsg(u_int8_t, u_int16_t, u_int8_t,
444 static struct mbuf *key_setsadbsa(struct secasvar *);
445 static struct mbuf *key_setsadbaddr(u_int16_t,
448 static struct mbuf *key_setsadbident(u_int16_t, u_int16_t, caddr_t,
451 static struct mbuf *key_setsadbxsa2(u_int8_t, u_int32_t, u_int32_t);
452 static struct mbuf *key_setsadbxpolicy(u_int16_t, u_int8_t,
477 static int key_getspi(struct socket *, struct mbuf *,
480 static int key_update(struct socket *, struct mbuf *,
485 static int key_add(struct socket *, struct mbuf *, const struct sadb_msghdr *);
486 static int key_setident(struct secashead *, struct mbuf *,
488 static struct mbuf *key_getmsgbuf_x1(struct mbuf *, const struct sadb_msghdr *);
489 static int key_delete(struct socket *, struct mbuf *,
491 static int key_get(struct socket *, struct mbuf *, const struct sadb_msghdr *);
495 static struct mbuf *key_getcomb_esp(void);
497 static struct mbuf *key_getcomb_ah(void);
498 static struct mbuf *key_getcomb_ipcomp(void);
499 static struct mbuf *key_getprop(const struct secasindex *);
509 static int key_acquire2(struct socket *, struct mbuf *,
511 static int key_register(struct socket *, struct mbuf *,
514 static int key_flush(struct socket *, struct mbuf *,
516 static int key_dump(struct socket *, struct mbuf *, const struct sadb_msghdr *);
517 static int key_promisc(struct socket *, struct mbuf *,
519 static int key_senderror(struct socket *, struct mbuf *, int);
521 static int key_align(struct mbuf *, struct sadb_msghdr *);
523 static struct mbuf *key_alloc_mbuf(int);
939 struct mbuf *m, *result;
1825 struct mbuf *
1832 struct mbuf *m;
1890 static struct mbuf *
1891 key_gather_mbuf(struct mbuf *m, const struct sadb_msghdr *mhp,
1896 struct mbuf *result = NULL, *n;
1981 struct mbuf *m;
2186 struct mbuf *n, *mpolicy;
2279 struct mbuf *m;
2347 struct mbuf *n;
2381 struct mbuf *m;
2415 struct mbuf *n, *nn;
2482 struct mbuf *m;
2487 struct mbuf *n;
2538 struct mbuf *result = NULL, *m;
2612 struct mbuf *m;
2665 struct mbuf *m;
2671 struct mbuf *n;
2734 static struct mbuf *
2740 struct mbuf *result = NULL, *m;
2834 struct mbuf *result = NULL, *m;
3060 * does not modify mbuf. does not free mbuf on error.
3064 struct mbuf *m;
3338 * does not modify mbuf. does not free mbuf on error.
3343 struct mbuf *m;
3835 static struct mbuf *
3841 struct mbuf *result = NULL, *tres = NULL, *m;
3984 static struct mbuf *
3992 struct mbuf *m;
4030 static struct mbuf *
4034 struct mbuf *m;
4064 static struct mbuf *
4071 struct mbuf *m;
4116 static struct mbuf *
4123 struct mbuf *m;
4155 static struct mbuf *
4160 struct mbuf *m;
4189 static struct mbuf *
4195 struct mbuf *m;
5163 struct mbuf *m;
5295 struct mbuf *n, *nn;
5457 struct mbuf *m;
5608 struct mbuf *n;
5679 struct mbuf *m;
5797 struct mbuf *n;
5815 struct mbuf *m;
5896 static struct mbuf *
5898 struct mbuf *m;
5901 struct mbuf *n;
5929 static int key_delete_all(struct socket *, struct mbuf *,
5946 struct mbuf *m;
6029 struct mbuf *n;
6059 struct mbuf *m;
6110 struct mbuf *n;
6149 struct mbuf *m;
6212 struct mbuf *n;
6258 static struct mbuf *
6263 struct mbuf *result = NULL, *m, *n;
6340 static struct mbuf *
6345 struct mbuf *m;
6399 static struct mbuf *
6404 struct mbuf *m;
6445 static struct mbuf *
6450 struct mbuf *m, *n;
6514 struct mbuf *result = NULL, *m;
6819 struct mbuf *m;
6947 struct mbuf *m;
6993 struct mbuf *n;
7159 struct mbuf *result = NULL, *m;
7284 struct mbuf *m;
7373 struct mbuf *m;
7384 struct mbuf *n;
7492 struct mbuf *m;
7542 static int (*key_typesw[])(struct socket *, struct mbuf *,
7572 * I think to be dealed with mbuf directly.
7582 struct mbuf *m;
7643 struct mbuf *n;
7664 /* align the mbuf chain so that extensions are in contiguous region. */
7838 struct mbuf *m;
7846 panic("invalid mbuf passed to key_senderror");
7860 struct mbuf *m;
7863 struct mbuf *n;
7873 panic("invalid mbuf passed to key_align");
8099 struct mbuf *m;
8204 static struct mbuf *
8208 struct mbuf *m = NULL, *n;
8224 /* use the bottom of mbuf, hoping we can prepend afterwards */
8265 #include <sys/mbuf.h> /* Until leopard, our ugly bpf protocol prepend will need this */
8658 struct mbuf *n;
8676 hack_hdr.mh_next = (struct mbuf*)m;
8680 hack_hdr.mh_type = ((struct mbuf*)m)->m_type;
8683 n = (struct mbuf*)&hack_hdr;