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

/netbsd-current/external/bsd/ppp/dist/pppd/plugins/pppoe/
H A Dcommon.c150 if (conn->relayId.type) {
152 ntohs(conn->relayId.length) + TAG_HDR_SIZE);
153 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE);
154 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE;
155 plen += ntohs(conn->relayId.length) + TAG_HDR_SIZE;
H A Ddiscovery.c162 conn->relayId.type = htons(type);
163 conn->relayId.length = htons(len);
164 memcpy(conn->relayId.payload, data, len);
242 conn->relayId.type = htons(type);
243 conn->relayId.length = htons(len);
244 memcpy(conn->relayId.payload, data, len);
503 if (conn->relayId.type) {
505 ntohs(conn->relayId.length) + TAG_HDR_SIZE);
506 memcpy(cursor, &conn->relayId, ntohs(conn->relayId
[all...]
H A Dpppoe-discovery.c420 conn->relayId.type = htons(type);
421 conn->relayId.length = htons(len);
422 memcpy(conn->relayId.payload, data, len);
H A Dpppoe.h240 PPPoETag relayId; /* Ditto */ member in struct:PPPoEConnectionStruct

Completed in 145 milliseconds