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

Lines Matching refs:mbuf

40 #include <sys/mbuf.h>
212 struct mbuf *, int);
213 static int ipsec4_setspidx_inpcb(struct mbuf *, struct inpcb *pcb);
215 static int ipsec6_setspidx_in6pcb(struct mbuf *, struct in6pcb *pcb);
217 static int ipsec_setspidx(struct mbuf *, struct secpolicyindex *, int);
218 static void ipsec4_get_ulp(struct mbuf *m, struct secpolicyindex *, int);
219 static int ipsec4_setspidx_ipaddr(struct mbuf *, struct secpolicyindex *);
221 static void ipsec6_get_ulp(struct mbuf *m, struct secpolicyindex *, int);
222 static int ipsec6_setspidx_ipaddr(struct mbuf *, struct secpolicyindex *);
229 static int ipsec_get_policy(struct secpolicy *pcb_sp, struct mbuf **mp);
231 static int ipsec_in_reject(struct secpolicy *, struct mbuf *);
233 static struct mbuf *ipsec4_splithdr(struct mbuf *);
236 static struct mbuf *ipsec6_splithdr(struct mbuf *);
239 static int ipsec4_encapsulate(struct mbuf *, struct secasvar *);
242 static int ipsec6_encapsulate(struct mbuf *, struct secasvar *);
243 static int ipsec64_encapsulate(struct mbuf *, struct secasvar *);
245 static struct ipsec_tag *ipsec_addaux(struct mbuf *);
246 static struct ipsec_tag *ipsec_findaux(struct mbuf *);
247 static void ipsec_optaux(struct mbuf *, struct ipsec_tag *);
283 struct mbuf *m;
485 struct mbuf *m;
558 struct mbuf *m;
730 struct mbuf *m;
783 * set IP address into spidx from mbuf.
786 * IN: get the followings from mbuf.
797 struct mbuf *m,
823 struct mbuf *m;
866 struct mbuf *m;
906 * by looking at the content of mbuf.
911 struct mbuf *m;
918 struct mbuf *n;
927 * mistakenly call this function with inconsistent mbuf chain
993 struct mbuf *m;
1071 struct mbuf *m;
1104 struct mbuf *m;
1161 struct mbuf *m;
1407 struct mbuf **mp;
1480 struct mbuf **mp;
1599 struct mbuf **mp;
1774 struct mbuf *m;
1870 struct mbuf *m;
1905 struct mbuf *m;
1929 struct mbuf *m;
1963 struct mbuf *m;
2061 struct mbuf *m;
2104 struct mbuf *m;
2146 struct mbuf *m;
2170 panic("ipsec4_encapsulate: assumption failed (first mbuf length)");
2180 panic("ipsec4_encapsulate: assumption failed (first mbuf length)");
2193 * grow the mbuf to accomodate the new IPv4 header.
2197 struct mbuf *n;
2266 struct mbuf *m;
2291 * grow the mbuf to accomodate the new IPv6 header.
2294 panic("ipsec6_encapsulate: assumption failed (first mbuf length)");
2296 struct mbuf *n;
2344 struct mbuf *m;
2371 * grow the mbuf to accomodate the new IPv4 header.
2374 panic("ipsec6_encapsulate: assumption failed (first mbuf length)");
2376 struct mbuf *n;
2742 struct mbuf *m;
3032 struct mbuf *mprev,
3124 state->m = NULL; /* icmp6_error freed the mbuf */
3542 static struct mbuf *
3544 struct mbuf *m;
3546 struct mbuf *mh;
3551 panic("ipsec4_splithdr: first mbuf too short");
3584 static struct mbuf *
3586 struct mbuf *m;
3588 struct mbuf *mh;
3593 panic("ipsec6_splithdr: first mbuf too short");
3624 struct mbuf *m; /* no pullup permitted, m->m_len >= ip */
3642 panic("too short mbuf on ipsec4_tunnel_validate");
3731 struct mbuf *m; /* no pullup permitted, m->m_len >= ip */
3746 panic("too short mbuf on ipsec6_tunnel_validate");
3804 * Make a mbuf chain for encryption.
3805 * If the original mbuf chain contains a mbuf with a cluster,
3810 struct mbuf *
3812 struct mbuf *m;
3814 struct mbuf *n, **mpp, *mnew;
3829 struct mbuf *mm;
3859 struct mbuf *mn;
3883 /* need another mbuf */
3930 struct mbuf *m)
3958 struct mbuf *m)
3969 struct mbuf *m)
3983 struct mbuf *m,
3993 struct mbuf *m,
3998 /* if so == NULL, don't insist on getting the aux mbuf */
4014 struct mbuf *m)
4027 struct mbuf *m,
4051 struct mbuf *m,
4068 struct mbuf *m)
4083 struct mbuf *m;