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

Lines Matching defs:namelen

268     UINT16_t namelen = 0;
273 namelen = (UINT16_t) strlen(conn->serviceName);
289 plen = TAG_HDR_SIZE + namelen;
293 svc->length = htons(namelen);
298 cursor += namelen + TAG_HDR_SIZE;
456 UINT16_t namelen = 0;
460 namelen = (UINT16_t) strlen(conn->serviceName);
462 plen = TAG_HDR_SIZE + namelen;
474 svc->length = htons(namelen);
476 memcpy(svc->payload, conn->serviceName, namelen);
478 cursor += namelen + TAG_HDR_SIZE;