Lines Matching refs:mbuf

78 #include <sys/mbuf.h>
106 static inline void sbcompress(struct sockbuf *, struct mbuf *, struct mbuf *);
109 struct mbuf *, struct mbuf *);
110 static int sbappendcontrol_internal(struct sockbuf *, struct mbuf *,
111 struct mbuf *);
119 /* Based on the number of mbuf clusters configured, high_sb_max and sb_max can get
627 * any associated data (mbuf's must be of type MT_SONAME).
631 * should be present (mbuf's must be of type MT_RIGHTS).
694 * Free mbufs held by a socket, and reserved mbuf space.
707 * data from an mbuf queue.
731 * Append mbuf chain m to the last record in the
733 * the mbuf chain is recorded in sb. Empty mbufs are
737 sbappend(struct sockbuf *sb, struct mbuf *m)
775 sbappendstream(struct sockbuf *sb, struct mbuf *m)
811 struct mbuf *m;
812 struct mbuf *n = 0;
846 struct mbuf *m = sb->sb_mb;
864 struct mbuf *m = sb->sb_mb;
865 struct mbuf *n;
888 * Similar to sbappend, except the mbuf chain begins a new record.
891 sbappendrecord(struct sockbuf *sb, struct mbuf *m0)
893 struct mbuf *m;
951 sbinsertoob(struct sockbuf *sb, struct mbuf *m0)
953 struct mbuf *m;
954 struct mbuf **mp;
990 * Put the first mbuf on the queue.
1022 struct mbuf *m0, struct mbuf *control)
1024 struct mbuf *m, *n, *nlast;
1083 sbappendaddr(struct sockbuf *sb, struct sockaddr *asa, struct mbuf *m0,
1084 struct mbuf *control, int *error_out)
1137 sbappendcontrol_internal(struct sockbuf *sb, struct mbuf *m0,
1138 struct mbuf *control)
1140 struct mbuf *m, *mlast, *n;
1181 sbappendcontrol(struct sockbuf *sb, struct mbuf *m0, struct mbuf *control,
1232 * Compress mbuf chain m into the socket
1233 * buffer sb following mbuf n. If n
1237 sbcompress(struct sockbuf *sb, struct mbuf *m, struct mbuf *n)
1240 struct mbuf *o;
1323 * Don't call sbdrop(sb, 0) if the leading mbuf is non-empty:
1338 * use m_freem_list to free the mbuf structures
1350 struct mbuf *m, *free_list, *ml;
1351 struct mbuf *next, *last;
1357 ml = (struct mbuf *)0;
1406 ml->m_next = (struct mbuf *)0;
1407 last->m_nextpkt = (struct mbuf *)0;
1442 struct mbuf *m, *mn;
1458 * Create a "control" mbuf containing the specified data
1461 struct mbuf *
1465 struct mbuf *m;
1468 return ((struct mbuf *)NULL);
1470 return ((struct mbuf *)NULL);
1482 struct mbuf**
1483 sbcreatecontrol_mbuf(caddr_t p, int size, int type, int level, struct mbuf** mp)
1485 struct mbuf* m;
1597 pru_rcvoob_notsupp(__unused struct socket *so, __unused struct mbuf *m,
1605 __unused struct mbuf *m, __unused struct sockaddr *addr,
1606 __unused struct mbuf *control, __unused struct proc *p)
1638 __unused struct uio *uio, __unused struct mbuf *top,
1639 __unused struct mbuf *control, __unused int flags)
1648 __unused struct uio *uio, __unused struct mbuf **mp0,
1649 __unused struct mbuf **controlp, __unused int *flagsp)
1740 sballoc(struct sockbuf *sb, struct mbuf *m)
1759 sbfree(struct sockbuf *sb, struct mbuf *m)