Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/rp-pppoe/
Ddiscovery.c279 PPPoETag hostUniq; in sendPADI() local
281 hostUniq.type = htons(TAG_HOST_UNIQ); in sendPADI()
282 hostUniq.length = htons(sizeof(pid)); in sendPADI()
283 memcpy(hostUniq.payload, &pid, sizeof(pid)); in sendPADI()
285 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE); in sendPADI()
447 PPPoETag hostUniq; in sendPADR() local
449 hostUniq.type = htons(TAG_HOST_UNIQ); in sendPADR()
450 hostUniq.length = htons(sizeof(pid)); in sendPADR()
451 memcpy(hostUniq.payload, &pid, sizeof(pid)); in sendPADR()
453 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE); in sendPADR()
Dcommon.c424 PPPoETag hostUniq; in sendPADT() local
426 hostUniq.type = htons(TAG_HOST_UNIQ); in sendPADT()
427 hostUniq.length = htons(sizeof(pid)); in sendPADT()
428 memcpy(hostUniq.payload, &pid, sizeof(pid)); in sendPADT()
429 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE); in sendPADT()