Searched refs:ip_offset (Results 1 – 1 of 1) sorted by relevance
1884 int ip_offset; in vtnet_tx_offload() local1891 ip_offset = sizeof(struct ether_header); in vtnet_tx_offload()1892 if (m->m_len < ip_offset) { in vtnet_tx_offload()1893 if ((m = m_pullup(m, ip_offset)) == NULL) in vtnet_tx_offload()1900 ip_offset = sizeof(struct ether_vlan_header); in vtnet_tx_offload()1901 if (m->m_len < ip_offset) { in vtnet_tx_offload()1902 if ((m = m_pullup(m, ip_offset)) == NULL) in vtnet_tx_offload()1911 if (m->m_len < ip_offset + sizeof(struct ip)) { in vtnet_tx_offload()1912 m = m_pullup(m, ip_offset + sizeof(struct ip)); in vtnet_tx_offload()1917 ip = (struct ip *)(mtod(m, uint8_t *) + ip_offset); in vtnet_tx_offload()[all …]