Home | History | Annotate | Download | only in rp-pppoe

Lines Matching refs:UINT16_t

48     UINT16_t len = ntohs(packet->length);
50 UINT16_t tagType, tagLen;
71 tagType = (((UINT16_t) curTag[0]) << 8) +
72 (UINT16_t) curTag[1];
73 tagLen = (((UINT16_t) curTag[2]) << 8) +
74 (UINT16_t) curTag[3];
101 findTag(PPPoEPacket *packet, UINT16_t type, PPPoETag *tag)
103 UINT16_t len = ntohs(packet->length);
105 UINT16_t tagType, tagLen;
126 tagType = (((UINT16_t) curTag[0]) << 8) +
127 (UINT16_t) curTag[1];
128 tagLen = (((UINT16_t) curTag[2]) << 8) +
129 (UINT16_t) curTag[3];
190 UINT16_t
194 UINT16_t count = ipHdr[2] * 256 + ipHdr[3];
208 sum += * (UINT16_t *) pseudoHeader;
209 sum += * ((UINT16_t *) (pseudoHeader+2));
210 sum += * ((UINT16_t *) (pseudoHeader+4));
211 sum += * ((UINT16_t *) (pseudoHeader+6));
212 sum += * ((UINT16_t *) (pseudoHeader+8));
213 sum += * ((UINT16_t *) (pseudoHeader+10));
217 sum += * (UINT16_t *) addr;
228 return (UINT16_t) (~sum & 0xFFFF);
250 UINT16_t csum;
381 (* (UINT16_t *) (tcpHdr+16)) = csum;
401 UINT16_t plen = 0;
486 parseLogErrs(UINT16_t type, UINT16_t len, unsigned char *data,