Lines Matching refs:header
975 printf("%spktlen: %u rcvif: 0x%llx header: 0x%llx "
1871 /* Move data pointer to start of frame to the link layer header */
2024 char *header)
2026 #pragma unused(protocol, packet, header)
3622 "header\n", __func__, dst_ifp->if_xname);
3660 * The mbuf has the Ethernet header already attached.
3698 * The mbuf has the Ethernet header already attached. We must
4285 /* Keep the layer3 header aligned */
4561 /* Keep the layer3 header aligned */
5356 /* Strip off the Ethernet header and keep a copy. */
5360 /* Strip off snap header, if present */
5367 * Check the IP header for alignment and errors
5405 /* put the Ethernet header back on */
5434 * IP does. here we assume the header is contiguous
5557 * Perform basic checks on header size since
5601 if (hlen < sizeof (struct ip)) { /* minimum header length */
5641 * is as at least much as the IP header would have us expect.
5671 * If the IPv6 header is not aligned, slurp it up into a new
5674 * IPv6 header is in the first mbuf of the chain.
5736 /* walk the chain and re-add the Ethernet header */
5884 struct kern_event_msg header;
5896 event.header.total_size = sizeof (event);
5897 event.header.vendor_code = KEV_VENDOR_APPLE;
5898 event.header.kev_class = KEV_NETWORK_CLASS;
5899 event.header.kev_subclass = KEV_DL_SUBCLASS;
5900 event.header.event_code = event_code;
5901 event.header.event_data[0] = ifnet_family(ifp);
5904 ifnet_event(ifp, &event.header);
5973 * Check the Ethernet header is large enough