Lines Matching defs:mpf
64 struct mbuf *mp = NULL, *mpf = NULL, *mpl = NULL;
98 mpf = mp;
121 mpl = mpf = mp;
136 eh = mtod(mpf, struct ether_vlan_header *);
141 mpf->m_pkthdr.ether_vtag = ntohs(eh->evl_tag);
142 mpf->m_flags |= M_VLANTAG;
148 m_adj(mpf, ETHER_VLAN_ENCAP_LEN);
152 mpf->m_pkthdr.csum_flags = CSUM_IP_CHECKED | CSUM_IP_VALID |
154 mpf->m_pkthdr.csum_data = 0xFFFF;
156 mpf->m_pkthdr.csum_flags = 0;
161 mpf->m_pkthdr.flowid = sgc->rss_hash;
162 M_HASHTYPE_SET(mpf, M_HASHTYPE_OPAQUE);
164 (*ifp->if_input)(ifp, mpf);
183 struct mbuf *mp = NULL, *mpf = NULL, *mpl = NULL;
233 mpf = mp;
256 mpl = mpf = mp;
271 th = (struct tcphdr *)(mpf->m_data + sgc->l4_offset);
276 m_adj(mpf, sgc->l2_offset);
278 eh = mtod(mpf, struct ether_vlan_header *);
283 mpf->m_pkthdr.ether_vtag = ntohs(eh->evl_tag);
284 mpf->m_flags |= M_VLANTAG;
290 m_adj(mpf, ETHER_VLAN_ENCAP_LEN);
298 ip = (struct ip *)(mpf->m_data + ETHER_HDR_LEN);
307 ip6 = (struct ip6_hdr *)(mpf->m_data + ETHER_HDR_LEN);
315 m_freem(mpf);
322 mpf->m_pkthdr.csum_flags = CSUM_IP_CHECKED | CSUM_IP_VALID |
324 mpf->m_pkthdr.csum_data = 0xFFFF;
326 mpf->m_pkthdr.flowid = sgc->rss_hash;
327 M_HASHTYPE_SET(mpf, M_HASHTYPE_OPAQUE);
331 (*ifp->if_input)(ifp, mpf);