Lines Matching refs:mbuf

50 #include <sys/mbuf.h>
101 void (*ng_ether_input_p)(struct ifnet *ifp, struct mbuf **mp);
102 void (*ng_ether_input_orphan_p)(struct ifnet *ifp, struct mbuf *m);
103 int (*ng_ether_output_p)(struct ifnet *ifp, struct mbuf **mp);
107 void (*vlan_input_p)(struct ifnet *, struct mbuf *);
110 void (*bridge_dn_p)(struct mbuf *, struct ifnet *);
113 struct mbuf *(*lagg_input_ethernet_p)(struct ifnet *, struct mbuf *);
125 update_mbuf_csumflags(struct mbuf *src, struct mbuf *dst)
200 ether_resolve_addr(struct ifnet *ifp, struct mbuf *m,
280 ether_output(struct ifnet *ifp, struct mbuf *m,
360 * Add local net header. If no space in first mbuf,
386 struct mbuf *n;
392 * be to modify if_simloop() to handle the readonly mbuf,
439 ether_set_pcp(struct mbuf **mp, struct ifnet *ifp, uint8_t pcp)
462 * in the first mbuf (if BRIDGE'ing).
465 ether_output_frame(struct ifnet *ifp, struct mbuf *m)
513 * mbuf chain m with the ethernet header at the front.
516 ether_input_internal(struct ifnet *ifp, struct mbuf *m)
575 * Tag the mbuf with an appropriate MAC label before any other
681 * mbuf flows up to Layer 3.
696 * M_PROMISC flag on the mbuf chain. The frame may need to
730 ether_nh_input(struct mbuf *m)
800 ether_input(struct ifnet *ifp, struct mbuf *m)
803 struct mbuf *mn;
839 ether_demux(struct ifnet *ifp, struct mbuf *m)
887 * Reset layer specific mbuf flags to avoid confusing upper layers.
1270 ether_vlan_mtap(struct bpf_if *bp, struct mbuf *m, void *data, u_int dlen)
1273 struct mbuf mv, mb;
1278 ("%s: mbuf not large enough for header", __func__));
1287 * re-create a stack allocated mbuf chain with the following structure:
1289 * (1) mbuf #1 will contain the supplied data link
1290 * (2) mbuf #2 will contain the vlan header
1291 * (3) mbuf #3 will contain the original mbuf's packet data
1309 struct mbuf *
1310 ether_vlanencap_proto(struct mbuf *m, uint16_t tag, uint16_t proto)
1350 * For now, make preserving PCP via an mbuf tag optional, as it increases
1360 ether_8021q_frame(struct mbuf **mp, struct ifnet *ife, struct ifnet *p,
1395 * If PCP is set in mbuf, use it