Lines Matching refs:mbuf

86 #include <sys/mbuf.h>
244 static int pim_encapcheck(const struct mbuf *, int, int, void *);
245 static int pim_input(struct mbuf *, int, int, void *);
308 static int X_ip_mforward(struct ip *, struct ifnet *, struct mbuf *,
336 static int ip_mdq(struct mbuf *, struct ifnet *, struct mfc *, vifi_t);
340 static void phyint_send(struct ip *, struct vif *, struct mbuf *);
341 static struct mbuf *
342 pim_register_prepare(struct ip *, struct mbuf *);
344 struct mbuf *, struct mfc *);
346 struct mbuf *, struct mfc *);
348 struct mbuf *, struct mfc *);
350 static void send_packet(struct vif *, struct mbuf *);
353 static int socket_send(struct socket *, struct mbuf *,
1193 socket_send(struct socket *s, struct mbuf *mm, struct sockaddr_in *src)
1222 X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m,
1285 struct mbuf *mb0;
1331 struct mbuf *mm;
1489 ip_mdq(struct mbuf *m, struct ifnet *ifp, struct mfc *rt, vifi_t xmt_vif)
1546 struct mbuf *mm = m_copym(m, 0, hlen, M_NOWAIT);
1655 phyint_send(struct ip *ip, struct vif *vifp, struct mbuf *m)
1657 struct mbuf *mb_copy;
1677 send_packet(struct vif *vifp, struct mbuf *m)
1719 X_rsvp_input(struct mbuf **mp, int *offp, int proto)
1721 struct mbuf *m;
2059 struct mbuf *m;
2079 * Allocate a new mbuf, initialize it with the header and
2084 log(LOG_WARNING, "bw_upcalls_send: cannot allocate mbuf\n");
2322 pim_register_send(struct ip *ip, struct vif *vifp, struct mbuf *m,
2325 struct mbuf *mb_copy, *mm;
2340 * Send all the fragments. Note that the mbuf for each fragment
2365 static struct mbuf *
2366 pim_register_prepare(struct ip *ip, struct mbuf *m)
2368 struct mbuf *mb_copy = NULL;
2379 * new mbuf so we can modify it.
2415 struct mbuf *mb_copy, struct mfc *rt)
2417 struct mbuf *mb_first;
2425 * Add a new mbuf with an upcall header
2466 pim_register_send_rp(struct ip *ip, struct vif *vifp, struct mbuf *mb_copy,
2469 struct mbuf *mb_first;
2483 * Add a new mbuf with the encapsulating header
2539 pim_encapcheck(const struct mbuf *m __unused, int off __unused,
2556 pim_input(struct mbuf *m, int off, int proto, void *arg __unused)
2598 /* m_pullup() may have given us a new mbuf so reset ip. */
2602 /* adjust mbuf to point to the PIM header */
2632 /* restore mbuf back to the outer IP */
2643 struct mbuf *mcp;
2707 /* adjust mbuf to point to the inner IP header */
2714 /* restore mbuf to point back to the outer IP header */