Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/rp-pppoe/
Ddiscovery.c166 conn->relayId.type = htons(type); in parsePADOTags()
167 conn->relayId.length = htons(len); in parsePADOTags()
168 memcpy(conn->relayId.payload, data, len); in parsePADOTags()
246 conn->relayId.type = htons(type); in parsePADSTags()
247 conn->relayId.length = htons(len); in parsePADSTags()
248 memcpy(conn->relayId.payload, data, len); in parsePADSTags()
515 if (conn->relayId.type) { in sendPADR()
517 ntohs(conn->relayId.length) + TAG_HDR_SIZE); in sendPADR()
518 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE); in sendPADR()
519 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE; in sendPADR()
[all …]
Dcommon.c154 if (conn->relayId.type) { in sendPADT()
156 ntohs(conn->relayId.length) + TAG_HDR_SIZE); in sendPADT()
157 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE); in sendPADT()
158 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE; in sendPADT()
159 plen += ntohs(conn->relayId.length) + TAG_HDR_SIZE; in sendPADT()
Dpppoe-discovery.c417 conn->relayId.type = htons(type); in parsePADOTags()
418 conn->relayId.length = htons(len); in parsePADOTags()
419 memcpy(conn->relayId.payload, data, len); in parsePADOTags()
Dpppoe.h243 PPPoETag relayId; /* Ditto */ member