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

Lines Matching refs:ntohs

48     UINT16_t len = ntohs(packet->length);
103 UINT16_t len = ntohs(packet->length);
281 len = (int) ntohs(packet->length);
449 ntohs(conn->cookie.length) + TAG_HDR_SIZE);
450 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE);
451 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE;
452 plen += ntohs(conn->cookie.length) + TAG_HDR_SIZE;
457 ntohs(conn->relayId.length) + TAG_HDR_SIZE);
458 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE);
459 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE;
460 plen += ntohs(conn->relayId.length) + TAG_HDR_SIZE;