Searched refs:ip_hdr (Results 1 - 5 of 5) sorted by relevance

/freebsd-9.3-release/sys/dev/nxge/xgehal/
H A Dxgehal-device-fp.c702 if ((lro->ip_hdr->saddr != ip->saddr))
706 if ((lro->ip_hdr->daddr != ip->daddr))
983 lro_new->ip_hdr = ip;
1280 * @ip_hdr: ip header (optional)
1294 xge_hal_lro_process_rx(int ring, u8 *eth_hdr, u8 *ip_hdr, tcplro_t **tcp, argument
1299 iplro_t *ip = (iplro_t *)ip_hdr;
1339 lro->ip_hdr->tot_len = xge_os_htons((*p_lro)->total_length);
1340 lro->ip_hdr->check = xge_os_htons(0);
1341 lro->ip_hdr->check = XGE_LL_IP_FAST_CSUM(((u8 *)(lro->ip_hdr)),
[all...]
/freebsd-9.3-release/sys/netinet/libalias/
H A Dalias_sctp.h173 // struct ip6_hdr *ip_hdr; /**< pointer to ip packet header */ /*no inet6 support yet*/
175 struct ip *ip_hdr; /**< pointer to ip packet header */ member in struct:sctp_nat_msg
H A Dalias_sctp.c775 DifferentialChecksum(&(msg.ip_hdr->ip_sum),
776 &(assoc->l_addr), &(msg.ip_hdr->ip_dst), 2);
777 msg.ip_hdr->ip_dst = assoc->l_addr; /* change dst address to local address*/
780 DifferentialChecksum(&(msg.ip_hdr->ip_sum),
781 &(assoc->a_addr), &(msg.ip_hdr->ip_src), 2);
782 msg.ip_hdr->ip_src = assoc->a_addr; /* change src to alias addr*/
908 if (ntohs(sm->ip_hdr->ip_len) < ip_size) { /* short packet, cannot send error cause */
920 ip->ip_v = sm->ip_hdr->ip_v;
924 ip->ip_id = sm->ip_hdr->ip_id;
963 ip->ip_src = (direction == SN_TO_LOCAL) ? sm->ip_hdr
[all...]
H A Dalias_db.c2909 lnk = FindLinkIn(la, sm->ip_hdr->ip_src, sm->ip_hdr->ip_dst,
2914 redir = FindOriginalAddress(la,sm->ip_hdr->ip_dst);
2917 lnk = FindLinkIn(la, sm->ip_hdr->ip_src, sm->ip_hdr->ip_dst,
/freebsd-9.3-release/sys/dev/nxge/include/
H A Dxgehal-device.h254 iplro_t *ip_hdr; member in struct:lro
976 xge_hal_lro_process_rx(int ring, u8 *eth_hdr, u8 *ip_hdr, tcplro_t **tcp,

Completed in 137 milliseconds