Lines Matching refs:mbuf
52 #include <sys/mbuf.h>
93 struct mbuf *m, struct ip_moptions *imo);
135 __unused struct mbuf *m, __unused ip_moptions *imo)
140 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
152 rsvp_input(struct mbuf *m, int iphlen) /* XXX must fixup manually */
173 void ipip_input(struct mbuf *m, int iphlen) { /* XXX must fixup manually */
228 extern void X_ipip_input(struct mbuf *m, int iphlen);
301 static int X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m, struct ip_moptions *imo);
315 static int socket_send(struct socket *, struct mbuf *, struct sockaddr_in *);
318 static int ip_mdq(struct mbuf *, struct ifnet *, struct mfc *,
320 static void phyint_send(struct ip *, struct vif *, struct mbuf *);
321 static void encap_send(struct ip *, struct vif *, struct mbuf *);
322 static void tbf_control(struct vif *, struct mbuf *, struct ip *, u_long);
323 static void tbf_queue(struct vif *, struct mbuf *);
327 static void tbf_send_packet(struct vif *, struct mbuf *);
330 void multiencap_decap(struct mbuf *);
793 struct mbuf *m;
1044 socket_send(struct socket *s, struct mbuf *mm, struct sockaddr_in *src)
1050 mm, (struct mbuf *)0, NULL) != 0) {
1076 X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m,
1084 struct mbuf *mm;
1154 struct mbuf *mb0;
1282 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
1315 * free the mbuf with the pkt, if, timing info
1341 ip_mdq(struct mbuf *m, struct ifnet *ifp, struct mfc *rt,
1391 struct mbuf *mm;
1486 phyint_send(struct ip *ip, struct vif *vifp, struct mbuf *m)
1488 struct mbuf *mb_copy;
1509 encap_send(struct ip *ip, struct vif *vifp, struct mbuf *m)
1511 struct mbuf *mb_copy;
1517 * new mbuf so we can modify it. Try to fill the new
1518 * mbuf since if we don't the ethernet driver will.
1580 X_ipip_input(struct mbuf *m, int iphlen)
1582 ipip_input(struct mbuf *m, int iphlen)
1633 ip_stripoptions(m, (struct mbuf *) 0);
1647 tbf_control(struct vif *vifp, struct mbuf *m, struct ip *ip,
1698 tbf_queue(struct vif *vifp, struct mbuf *m)
1714 /* Make sure we didn't get fed a bogus mbuf */
1730 struct mbuf *m;
1785 struct mbuf *m, *last;
1786 struct mbuf **np;
1814 tbf_send_packet(struct vif *vifp, struct mbuf *m)
1822 ip_output(m, (struct mbuf *)0, &vifp->v_route,
1836 error = ip_output(m, (struct mbuf *)0, &ro,
1930 /* Check mbuf. */
2028 rsvp_input(struct mbuf *m, int iphlen)