Searched refs:hostUniq (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/external/bsd/ppp/dist/pppd/plugins/pppoe/
H A Dpppoe-discovery.c341 PPPoETag hostUniq = conn->hostUniq; local
347 if (!conn->hostUniq.length) return 1;
349 parsePacket(packet, parseForHostUniq, &hostUniq);
350 return !hostUniq.length;
485 if (conn->hostUniq.length) {
486 int len = ntohs(conn->hostUniq.length);
488 memcpy(cursor, &conn->hostUniq, len + TAG_HDR_SIZE);
683 if(conn->hostUniq.length) {
688 conn->hostUniq
[all...]
H A Ddiscovery.c103 PPPoETag hostUniq = conn->hostUniq; local
109 if (!conn->hostUniq.length) return 1;
111 parsePacket(packet, parseForHostUniq, &hostUniq);
112 return !hostUniq.length;
300 if (conn->hostUniq.length) {
301 int len = ntohs(conn->hostUniq.length);
303 memcpy(cursor, &conn->hostUniq, len + TAG_HDR_SIZE);
473 if (conn->hostUniq.length) {
474 int len = ntohs(conn->hostUniq
[all...]
H A Dplugin.c188 if (!parseHostUniq(pppoe_host_uniq, &conn->hostUniq))
193 conn->hostUniq.type = htons(TAG_HOST_UNIQ);
194 conn->hostUniq.length = htons(sizeof(pid));
195 memcpy(conn->hostUniq.payload, &pid, sizeof(pid));
H A Dcommon.c122 if (conn->hostUniq.length) {
123 int len = ntohs(conn->hostUniq.length);
124 memcpy(cursor, &conn->hostUniq, len + TAG_HDR_SIZE);
H A Dpppoe.h235 PPPoETag hostUniq; /* Use Host-Uniq tag */ member in struct:PPPoEConnectionStruct

Completed in 129 milliseconds