Searched refs:relayId (Results 1 – 4 of 4) sorted by relevance
/external/ppp/pppd/plugins/rp-pppoe/ |
D | discovery.c | 166 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 …]
|
D | common.c | 154 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()
|
D | pppoe-discovery.c | 417 conn->relayId.type = htons(type); in parsePADOTags() 418 conn->relayId.length = htons(len); in parsePADOTags() 419 memcpy(conn->relayId.payload, data, len); in parsePADOTags()
|
D | pppoe.h | 243 PPPoETag relayId; /* Ditto */ member
|