Lines Matching defs:hostUniq
188 static PPPoETag hostUniq;
457 hostUniq.type = htons(type);
458 hostUniq.length = htons(len);
459 memcpy(hostUniq.payload, data, len);
496 hostUniq.type = htons(type);
497 hostUniq.length = htons(len);
498 memcpy(hostUniq.payload, data, len);
658 hostUniq.type = 0;
760 if (hostUniq.type) {
761 CHECK_ROOM(cursor, pado.payload, ntohs(hostUniq.length)+TAG_HDR_SIZE);
762 memcpy(cursor, &hostUniq, ntohs(hostUniq.length) + TAG_HDR_SIZE);
763 cursor += ntohs(hostUniq.length) + TAG_HDR_SIZE;
764 plen += ntohs(hostUniq.length) + TAG_HDR_SIZE;
859 hostUniq.type = 0;
1077 if (hostUniq.type) {
1078 memcpy(cursor, &hostUniq, ntohs(hostUniq.length) + TAG_HDR_SIZE);
1079 cursor += ntohs(hostUniq.length) + TAG_HDR_SIZE;
1080 plen += ntohs(hostUniq.length) + TAG_HDR_SIZE;
1870 if (hostUniq.type) {
1871 memcpy(cursor, &hostUniq, ntohs(hostUniq.length) + TAG_HDR_SIZE);
1872 cursor += ntohs(hostUniq.length) + TAG_HDR_SIZE;
1873 plen += ntohs(hostUniq.length) + TAG_HDR_SIZE;