Lines Matching refs:mbuf
52 #include <sys/mbuf.h>
83 struct mbuf *m, struct ip_moptions *imo);
125 __unused struct mbuf *m, __unused ip_moptions *imo)
130 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
142 rsvp_input(struct mbuf *m, int iphlen) /* XXX must fixup manually */
163 void ipip_input(struct mbuf *m, int iphlen) { /* XXX must fixup manually */
218 extern void X_ipip_input(struct mbuf *m, int iphlen);
291 static int X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m, struct ip_moptions *imo);
305 static int socket_send(struct socket *, struct mbuf *, struct sockaddr_in *);
308 static int ip_mdq(struct mbuf *, struct ifnet *, struct mfc *,
310 static void phyint_send(struct ip *, struct vif *, struct mbuf *);
311 static void encap_send(struct ip *, struct vif *, struct mbuf *);
312 static void tbf_control(struct vif *, struct mbuf *, struct ip *, u_int32_t);
313 static void tbf_queue(struct vif *, struct mbuf *);
317 static void tbf_send_packet(struct vif *, struct mbuf *);
320 void multiencap_decap(struct mbuf *);
783 struct mbuf *m;
1034 socket_send(struct socket *s, struct mbuf *mm, struct sockaddr_in *src)
1040 mm, (struct mbuf *)0, NULL) != 0) {
1066 X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m,
1074 struct mbuf *mm;
1149 struct mbuf *mb0;
1277 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
1310 * free the mbuf with the pkt, if, timing info
1336 ip_mdq(struct mbuf *m, struct ifnet *ifp, struct mfc *rt,
1386 struct mbuf *mm;
1481 phyint_send(struct ip *ip, struct vif *vifp, struct mbuf *m)
1483 struct mbuf *mb_copy;
1504 encap_send(struct ip *ip, struct vif *vifp, struct mbuf *m)
1506 struct mbuf *mb_copy;
1512 * new mbuf so we can modify it. Try to fill the new
1513 * mbuf since if we don't the ethernet driver will.
1579 X_ipip_input(struct mbuf *m, int iphlen)
1581 ipip_input(struct mbuf *m, int iphlen)
1632 ip_stripoptions(m, (struct mbuf *) 0);
1646 tbf_control(struct vif *vifp, struct mbuf *m, struct ip *ip,
1697 tbf_queue(struct vif *vifp, struct mbuf *m)
1713 /* Make sure we didn't get fed a bogus mbuf */
1729 struct mbuf *m;
1784 struct mbuf *m, *last;
1785 struct mbuf **np;
1813 tbf_send_packet(struct vif *vifp, struct mbuf *m)
1820 ip_output(m, (struct mbuf *)0, &vifp->v_route,
1842 error = ip_output(m, (struct mbuf *)0, &ro,
1938 /* Check mbuf. */
2036 rsvp_input(struct mbuf *m, int iphlen)