Home
last modified time | relevance | path

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

/NextBSD/sys/dev/nxge/xgehal/
HDxgehal-device-fp.c702 if ((lro->ip_hdr->saddr != ip->saddr)) in __hal_lro_check_for_session_match()
706 if ((lro->ip_hdr->daddr != ip->daddr)) in __hal_lro_check_for_session_match()
983 lro_new->ip_hdr = ip; in __hal_open_lro_session()
1294 xge_hal_lro_process_rx(int ring, u8 *eth_hdr, u8 *ip_hdr, tcplro_t **tcp, in xge_hal_lro_process_rx() argument
1299 iplro_t *ip = (iplro_t *)ip_hdr; in xge_hal_lro_process_rx()
1339 lro->ip_hdr->tot_len = xge_os_htons((*p_lro)->total_length); in xge_hal_lro_process_rx()
1340 lro->ip_hdr->check = xge_os_htons(0); in xge_hal_lro_process_rx()
1341 lro->ip_hdr->check = XGE_LL_IP_FAST_CSUM(((u8 *)(lro->ip_hdr)), in xge_hal_lro_process_rx()
1342 (lro->ip_hdr->version_ihl & 0x0F)); in xge_hal_lro_process_rx()
1405 lro->ip_hdr->tot_len = xge_os_htons(lro->total_length); in xge_hal_lro_next_session()
[all …]
/NextBSD/sys/netinet/libalias/
HDalias_sctp.c775 DifferentialChecksum(&(msg.ip_hdr->ip_sum), in SctpAlias()
776 &(assoc->l_addr), &(msg.ip_hdr->ip_dst), 2); in SctpAlias()
777 msg.ip_hdr->ip_dst = assoc->l_addr; /* change dst address to local address*/ in SctpAlias()
780 DifferentialChecksum(&(msg.ip_hdr->ip_sum), in SctpAlias()
781 &(assoc->a_addr), &(msg.ip_hdr->ip_src), 2); in SctpAlias()
782 msg.ip_hdr->ip_src = assoc->a_addr; /* change src to alias addr*/ in SctpAlias()
908 if (ntohs(sm->ip_hdr->ip_len) < ip_size) { /* short packet, cannot send error cause */ in TxAbortErrorM()
920 ip->ip_v = sm->ip_hdr->ip_v; in TxAbortErrorM()
924 ip->ip_id = sm->ip_hdr->ip_id; in TxAbortErrorM()
963 ip->ip_src = (direction == SN_TO_LOCAL) ? sm->ip_hdr->ip_src : assoc->a_addr; in TxAbortErrorM()
[all …]
HDalias_sctp.h174 struct ip *ip_hdr; /**< pointer to ip packet header */ member
HDalias_db.c2902 lnk = FindLinkIn(la, sm->ip_hdr->ip_src, sm->ip_hdr->ip_dst, in FindSctpRedirectAddress()
2907 redir = FindOriginalAddress(la,sm->ip_hdr->ip_dst); in FindSctpRedirectAddress()
2910 lnk = FindLinkIn(la, sm->ip_hdr->ip_src, sm->ip_hdr->ip_dst, in FindSctpRedirectAddress()
/NextBSD/sys/dev/nxge/include/
HDxgehal-device.h254 iplro_t *ip_hdr; member
976 xge_hal_lro_process_rx(int ring, u8 *eth_hdr, u8 *ip_hdr, tcplro_t **tcp,