Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/rp-pppoe/
Ddiscovery.c318 PPPoETag maxPayload; in sendPADI() local
320 maxPayload.type = htons(TAG_PPP_MAX_PAYLOAD); in sendPADI()
321 maxPayload.length = htons(sizeof(mru)); in sendPADI()
322 memcpy(maxPayload.payload, &mru, sizeof(mru)); in sendPADI()
324 memcpy(cursor, &maxPayload, sizeof(mru) + TAG_HDR_SIZE); in sendPADI()
495 PPPoETag maxPayload; in sendPADR() local
497 maxPayload.type = htons(TAG_PPP_MAX_PAYLOAD); in sendPADR()
498 maxPayload.length = htons(sizeof(mru)); in sendPADR()
499 memcpy(maxPayload.payload, &mru, sizeof(mru)); in sendPADR()
501 memcpy(cursor, &maxPayload, sizeof(mru) + TAG_HDR_SIZE); in sendPADR()