Lines Matching refs:UINT16_t
54 UINT16_t len = ntohs(packet->length);
56 UINT16_t tagType, tagLen;
77 tagType = (((UINT16_t) curTag[0]) << 8) +
78 (UINT16_t) curTag[1];
79 tagLen = (((UINT16_t) curTag[2]) << 8) +
80 (UINT16_t) curTag[3];
107 findTag(PPPoEPacket *packet, UINT16_t type, PPPoETag *tag)
109 UINT16_t len = ntohs(packet->length);
111 UINT16_t tagType, tagLen;
132 tagType = (((UINT16_t) curTag[0]) << 8) +
133 (UINT16_t) curTag[1];
134 tagLen = (((UINT16_t) curTag[2]) << 8) +
135 (UINT16_t) curTag[3];
195 UINT16_t
199 UINT16_t count = ipHdr[2] * 256 + ipHdr[3];
213 sum += * (UINT16_t *) pseudoHeader;
214 sum += * ((UINT16_t *) (pseudoHeader+2));
215 sum += * ((UINT16_t *) (pseudoHeader+4));
216 sum += * ((UINT16_t *) (pseudoHeader+6));
217 sum += * ((UINT16_t *) (pseudoHeader+8));
218 sum += * ((UINT16_t *) (pseudoHeader+10));
222 sum += * (UINT16_t *) addr;
233 return (UINT16_t) (~sum & 0xFFFF);
255 UINT16_t csum;
386 (* (UINT16_t *) (tcpHdr+16)) = csum;
405 UINT16_t plen = 0;
515 parseLogErrs(UINT16_t type, UINT16_t len, unsigned char *data,