Home
last modified time | relevance | path

Searched refs:hostUniq (Results 1 – 3 of 3) sorted by relevance

/external/ppp/pppd/plugins/rp-pppoe/
Ddiscovery.c305 PPPoETag hostUniq; in sendPADI() local
307 hostUniq.type = htons(TAG_HOST_UNIQ); in sendPADI()
308 hostUniq.length = htons(sizeof(pid)); in sendPADI()
309 memcpy(hostUniq.payload, &pid, sizeof(pid)); in sendPADI()
311 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE); in sendPADI()
482 PPPoETag hostUniq; in sendPADR() local
484 hostUniq.type = htons(TAG_HOST_UNIQ); in sendPADR()
485 hostUniq.length = htons(sizeof(pid)); in sendPADR()
486 memcpy(hostUniq.payload, &pid, sizeof(pid)); in sendPADR()
488 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE); in sendPADR()
Dcommon.c123 PPPoETag hostUniq; in sendPADT() local
125 hostUniq.type = htons(TAG_HOST_UNIQ); in sendPADT()
126 hostUniq.length = htons(sizeof(pid)); in sendPADT()
127 memcpy(hostUniq.payload, &pid, sizeof(pid)); in sendPADT()
128 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE); in sendPADT()
Dpppoe-discovery.c477 PPPoETag hostUniq; in sendPADI() local
479 hostUniq.type = htons(TAG_HOST_UNIQ); in sendPADI()
480 hostUniq.length = htons(sizeof(pid)); in sendPADI()
481 memcpy(hostUniq.payload, &pid, sizeof(pid)); in sendPADI()
483 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE); in sendPADI()