Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/rp-pppoe/
Ddiscovery.c162 conn->relayId.type = htons(type); in parsePADOTags()
163 conn->relayId.length = htons(len); in parsePADOTags()
164 memcpy(conn->relayId.payload, data, len); in parsePADOTags()
227 conn->relayId.type = htons(type); in parsePADSTags()
228 conn->relayId.length = htons(len); in parsePADSTags()
229 memcpy(conn->relayId.payload, data, len); in parsePADSTags()
467 if (conn->relayId.type) { in sendPADR()
469 ntohs(conn->relayId.length) + TAG_HDR_SIZE); in sendPADR()
470 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE); in sendPADR()
471 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE; in sendPADR()
[all …]
Dcommon.c455 if (conn->relayId.type) { in sendPADT()
457 ntohs(conn->relayId.length) + TAG_HDR_SIZE); in sendPADT()
458 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE); in sendPADT()
459 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE; in sendPADT()
460 plen += ntohs(conn->relayId.length) + TAG_HDR_SIZE; in sendPADT()
Dpppoe.h269 PPPoETag relayId; /* Ditto */ member