Home
last modified time | relevance | path

Searched refs:IpHeaderLength (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/net/sk98lin/
Dskcsum.c218 unsigned IpHeaderLength; in SkCsGetSendInfo() local
264 IpHeaderLength = (Tmp & 0xf) * 4; in SkCsGetSendInfo()
265 pPacketInfo->IpHeaderLength = IpHeaderLength; in SkCsGetSendInfo()
271 if (IpHeaderLength < 5*4) { in SkCsGetSendInfo()
273 ("Tx: Invalid IP Header Length %u.\n", IpHeaderLength)); in SkCsGetSendInfo()
289 SkCsCalculateChecksum(pIpHeader, IpHeaderLength); in SkCsGetSendInfo()
358 IpDataLength = SKCS_NTOH16(IpDataLength) - IpHeaderLength; in SkCsGetSendInfo()
446 unsigned IpHeaderLength; in SkCsGetReceiveInfo() local
497 IpHeaderLength = (Tmp & 0xf) * 4; in SkCsGetReceiveInfo()
503 if (IpHeaderLength < 5*4) { in SkCsGetReceiveInfo()
[all …]
Dskge.c1878 int IpHeaderLength; in XmitFrame() local
1959 IpHeaderLength = (SK_U8)pMessage->data[C_OFFSET_IPHEADER]; in XmitFrame()
1960 IpHeaderLength = (IpHeaderLength & 0xf) * 4; in XmitFrame()
1962 pTxd->TcpSumSt = C_LEN_ETHERMAC_HEADER + IpHeaderLength + in XmitFrame()
1966 pTxd->TcpSumWr = C_LEN_ETHERMAC_HEADER + IpHeaderLength; in XmitFrame()
2029 int IpHeaderLength; in XmitFrameSG() local
2089 IpHeaderLength = ((SK_U8)pMessage->data[C_OFFSET_IPHEADER] & 0xf)*4; in XmitFrameSG()
2091 pTxd->TcpSumSt = C_LEN_ETHERMAC_HEADER + IpHeaderLength + in XmitFrameSG()
2095 pTxd->TcpSumWr = C_LEN_ETHERMAC_HEADER + IpHeaderLength; in XmitFrameSG()
/linux-2.4.37.9/drivers/net/sk98lin/h/
Dskcsum.h174 unsigned IpHeaderLength; member