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

Lines Matching refs:mbuf

79 #include <sys/mbuf.h>
141 static int icmp6_rip6_input(struct mbuf **, int);
142 static void icmp6_reflect(struct mbuf *, size_t);
146 static struct mbuf *ni6_input(struct mbuf *, int, struct prison *);
147 static struct mbuf *ni6_nametodns(const char *, int, int);
149 static int ni6_addrs(struct icmp6_nodeinfo *, struct mbuf *,
153 static int icmp6_notify_error(struct mbuf **, int, int, int);
230 icmp6_error2(struct mbuf *m, int type, int code, int param,
259 icmp6_error(struct mbuf *m, int type, int code, int param)
400 icmp6_input(struct mbuf **mp, int *offp, int proto)
402 struct mbuf *m, *n;
424 * Locate icmp6 structure in mbuf, and check
549 struct mbuf *n0 = n;
570 /* new mbuf contains only ipv6+icmpv6 headers */
573 * Adjust mbuf. ip6_plen will be adjusted in
615 * check an mbuf header flag.
898 icmp6_notify_error(struct mbuf **mp, int off, int icmp6len, int code)
900 struct mbuf *m;
1113 struct mbuf *m = ip6cp->ip6c_m; /* will be necessary for scope issue */
1173 static struct mbuf *
1174 ni6_input(struct mbuf *m, int off, struct prison *pr)
1177 struct mbuf *n = NULL;
1373 /* XXX will append an mbuf */
1396 /* XXX will append an mbuf */
1402 /* Allocate an mbuf to reply. */
1421 /* copy mbuf header and IPv6 + Node Information base headers */
1471 /* XXX: reset mbuf length */
1492 * make a mbuf with DNS-encoded string. no compression support.
1499 static struct mbuf *
1502 struct mbuf *m;
1512 /* Because MAXHOSTNAMELEN is usually 256, we use cluster mbuf. */
1553 /* result does not fit into mbuf */
1654 ni6_addrs(struct icmp6_nodeinfo *ni6, struct mbuf *m, struct ifnet **ifpp,
1882 icmp6_rip6_input(struct mbuf **mp, int off)
1884 struct mbuf *m = *mp;
1890 struct mbuf *opts = NULL;
1933 struct mbuf *n = NULL;
1937 * mbuf cluster, rather than to make a couple of
1940 * probable that we still have an mbuf cluster here
1942 * mbuf's internal buffer.
1947 * received data to a separate mbuf that does not use
1998 /* avoid using mbuf clusters if possible (see above) */
2001 struct mbuf *n;
2037 * OFF points to the icmp6 header, counted from the top of the mbuf.
2040 icmp6_reflect(struct mbuf *m, size_t off)
2205 icmp6_redirect_input(struct mbuf *m, int off)
2416 icmp6_redirect_output(struct mbuf *m0, struct nhop_object *nh)
2422 struct mbuf *m = NULL; /* newly allocated one */
2464 * we almost always ask for an mbuf cluster for simplicity.