Lines Matching defs:mbuf
41 #include <sys/mbuf.h>
77 int (*altq_input)(struct mbuf *, int) = NULL;
82 static int extract_ports4(struct mbuf *, struct ip *, struct flowinfo_in *);
84 static int extract_ports6(struct mbuf *, struct ip6_hdr *,
128 int (*enqueue)(struct ifaltq *, struct mbuf *),
129 struct mbuf *(*dequeue)(struct ifaltq *, int),
131 void *clfier, void *(*classify)(void *, struct mbuf *, int))
249 struct mbuf *
253 struct mbuf *m;
637 read_dsfield(struct mbuf *m, struct altq_pktattr *pktattr)
639 struct mbuf *m0;
646 /* verify that pattr_hdr is within the mbuf data */
682 write_dsfield(struct mbuf *m, struct altq_pktattr *pktattr, u_int8_t dsfield)
684 struct mbuf *m0;
690 /* verify that pattr_hdr is within the mbuf data */
789 * we assume the ip header is in one mbuf, and addresses and ports are
793 altq_extractflow(struct mbuf *m, int af, struct flowinfo *flow,
891 extract_ports4(struct mbuf *m, struct ip *ip, struct flowinfo_in *fin)
893 struct mbuf *m0;
909 /* locate the mbuf containing the protocol header */
986 extract_ports6(struct mbuf *m, struct ip6_hdr *ip6, struct flowinfo_in6 *fin6)
988 struct mbuf *m0;
996 /* locate the mbuf containing the protocol header */
1251 acc_classify(void *clfier, struct mbuf *m, int af)