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

Lines Matching defs:namelen

249     UINT16_t namelen = 0;
253 namelen = (UINT16_t) strlen(conn->serviceName);
255 plen = TAG_HDR_SIZE + namelen;
269 svc->length = htons(namelen);
270 CHECK_ROOM(cursor, packet.payload, namelen+TAG_HDR_SIZE);
275 cursor += namelen + TAG_HDR_SIZE;
420 UINT16_t namelen = 0;
424 namelen = (UINT16_t) strlen(conn->serviceName);
426 plen = TAG_HDR_SIZE + namelen;
439 svc->length = htons(namelen);
441 memcpy(svc->payload, conn->serviceName, namelen);
443 cursor += namelen + TAG_HDR_SIZE;