Lines Matching refs:mbuf
70 #include <sys/mbuf.h>
437 static struct mbuf *key_gather_mbuf(struct mbuf *,
439 static int key_spdadd(struct socket *, struct mbuf *,
442 static int key_spddelete(struct socket *, struct mbuf *,
444 static int key_spddelete2(struct socket *, struct mbuf *,
446 static int key_spdget(struct socket *, struct mbuf *,
448 static int key_spdflush(struct socket *, struct mbuf *,
450 static int key_spddump(struct socket *, struct mbuf *,
452 static struct mbuf *key_setdumpsp(struct secpolicy *,
457 static struct secasvar *key_newsav(struct mbuf *,
463 static int key_setsaval(struct secasvar *, struct mbuf *,
466 static struct mbuf *key_setdumpsa(struct secasvar *, u_int8_t,
468 static struct mbuf *key_setsadbmsg(u_int8_t, u_int16_t, u_int8_t,
470 static struct mbuf *key_setsadbsa(struct secasvar *);
471 static struct mbuf *key_setsadbaddr(u_int16_t,
474 static struct mbuf *key_setsadbident(u_int16_t, u_int16_t, caddr_t,
477 static struct mbuf *key_setsadbxsa2(u_int8_t, u_int32_t, u_int32_t);
478 static struct mbuf *key_setsadbxpolicy(u_int16_t, u_int8_t,
504 static int key_getspi(struct socket *, struct mbuf *,
507 static int key_update(struct socket *, struct mbuf *,
512 static int key_add(struct socket *, struct mbuf *, const struct sadb_msghdr *);
513 static int key_setident(struct secashead *, struct mbuf *,
515 static struct mbuf *key_getmsgbuf_x1(struct mbuf *, const struct sadb_msghdr *);
516 static int key_delete(struct socket *, struct mbuf *,
518 static int key_get(struct socket *, struct mbuf *, const struct sadb_msghdr *);
522 static struct mbuf *key_getcomb_esp(void);
524 static struct mbuf *key_getcomb_ah(void);
525 static struct mbuf *key_getcomb_ipcomp(void);
526 static struct mbuf *key_getprop(const struct secasindex *);
536 static int key_acquire2(struct socket *, struct mbuf *,
538 static int key_register(struct socket *, struct mbuf *,
541 static int key_flush(struct socket *, struct mbuf *,
543 static int key_dump(struct socket *, struct mbuf *, const struct sadb_msghdr *);
544 static int key_promisc(struct socket *, struct mbuf *,
546 static int key_senderror(struct socket *, struct mbuf *, int);
548 static int key_align(struct mbuf *, struct sadb_msghdr *);
549 static struct mbuf *key_alloc_mbuf(int);
550 static int key_getsastat (struct socket *, struct mbuf *, const struct sadb_msghdr *);
1016 struct mbuf *m, *result;
1931 struct mbuf *
1938 struct mbuf *m;
1996 static struct mbuf *
1997 key_gather_mbuf(struct mbuf *m, const struct sadb_msghdr *mhp,
2002 struct mbuf *result = NULL, *n;
2087 struct mbuf *m,
2293 struct mbuf *n, *mpolicy;
2386 struct mbuf *m,
2454 struct mbuf *n;
2488 struct mbuf *m,
2523 struct mbuf *n, *nn;
2590 struct mbuf *m,
2595 struct mbuf *n;
2647 struct mbuf *result = NULL, *m;
2721 struct mbuf *m,
2774 struct mbuf *m,
2780 struct mbuf *n;
2843 static struct mbuf *
2850 struct mbuf *result = NULL, *m;
2944 struct mbuf *result = NULL, *m;
3172 * does not modify mbuf. does not free mbuf on error.
3176 struct mbuf *m,
3570 * does not modify mbuf. does not free mbuf on error.
3575 struct mbuf *m,
3893 * does not modify mbuf. does not free mbuf on error.
4289 static struct mbuf *
4297 struct mbuf *result = NULL, *tres = NULL, *m;
4440 static struct mbuf *
4449 struct mbuf *m;
4487 static struct mbuf *
4491 struct mbuf *m;
4521 static struct mbuf *
4528 struct mbuf *m;
4572 static struct mbuf *
4575 struct mbuf *m;
4601 static struct mbuf *
4606 struct mbuf *m;
4643 static struct mbuf *
4651 struct mbuf *m;
4683 static struct mbuf *
4689 struct mbuf *m;
4718 static struct mbuf *
4724 struct mbuf *m;
5714 struct mbuf *m,
5848 struct mbuf *n, *nn;
6066 struct mbuf *m,
6219 struct mbuf *n;
6290 struct mbuf *m,
6410 struct mbuf *n;
6428 struct mbuf *m,
6511 static struct mbuf *
6513 struct mbuf *m,
6516 struct mbuf *n;
6544 static int key_delete_all(struct socket *, struct mbuf *,
6561 struct mbuf *m,
6644 struct mbuf *n;
6674 struct mbuf *m,
6725 struct mbuf *n;
6764 struct mbuf *m,
6827 struct mbuf *n;
6949 static struct mbuf *
6954 struct mbuf *result = NULL, *m, *n;
7032 static struct mbuf *
7037 struct mbuf *m;
7091 static struct mbuf *
7096 struct mbuf *m;
7137 static struct mbuf *
7142 struct mbuf *m, *n;
7206 struct mbuf *result = NULL, *m;
7511 struct mbuf *m,
7640 struct mbuf *m,
7686 struct mbuf *n;
7854 struct mbuf *result = NULL, *m;
7979 struct mbuf *m,
8068 struct mbuf *m,
8079 struct mbuf *n;
8187 struct mbuf *m,
8237 static int (*key_typesw[])(struct socket *, struct mbuf *,
8268 * I think to be dealed with mbuf directly.
8278 struct mbuf *m,
8339 struct mbuf *n;
8360 /* align the mbuf chain so that extensions are in contiguous region. */
8534 struct mbuf *m,
8542 panic("invalid mbuf passed to key_senderror");
8556 struct mbuf *m,
8559 struct mbuf *n;
8569 panic("invalid mbuf passed to key_align");
8756 struct mbuf *m)
8861 static struct mbuf *
8865 struct mbuf *m = NULL, *n;
8881 /* use the bottom of mbuf, hoping we can prepend afterwards */
8899 static struct mbuf *
8907 struct mbuf *result = NULL, *m = NULL;
8966 struct mbuf *m,
8973 struct mbuf *n;