Lines Matching defs:ip_hdr
719 if ((lro->ip_hdr->saddr != ip->saddr))
723 if ((lro->ip_hdr->daddr != ip->daddr))
1000 lro_new->ip_hdr = ip;
1297 * @ip_hdr: ip header (optional)
1311 xge_hal_lro_process_rx(int ring, u8 *eth_hdr, u8 *ip_hdr, tcplro_t **tcp,
1316 iplro_t *ip = (iplro_t *)ip_hdr;
1356 lro->ip_hdr->tot_len = xge_os_htons((*p_lro)->total_length);
1357 lro->ip_hdr->check = xge_os_htons(0);
1358 lro->ip_hdr->check = XGE_LL_IP_FAST_CSUM(((u8 *)(lro->ip_hdr)),
1359 (lro->ip_hdr->version_ihl & 0x0F));
1422 lro->ip_hdr->tot_len = xge_os_htons(lro->total_length);
1423 lro->ip_hdr->check = xge_os_htons(0);
1424 lro->ip_hdr->check = XGE_LL_IP_FAST_CSUM(((u8 *)(lro->ip_hdr)),
1425 (lro->ip_hdr->version_ihl & 0x0F));