Searched refs:hostUniq (Results 1 - 5 of 5) sorted by relevance
/netbsd-current/external/bsd/ppp/dist/pppd/plugins/pppoe/ |
H A D | pppoe-discovery.c | 341 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 D | discovery.c | 103 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 D | plugin.c | 188 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 D | common.c | 122 if (conn->hostUniq.length) { 123 int len = ntohs(conn->hostUniq.length); 124 memcpy(cursor, &conn->hostUniq, len + TAG_HDR_SIZE);
|
H A D | pppoe.h | 235 PPPoETag hostUniq; /* Use Host-Uniq tag */ member in struct:PPPoEConnectionStruct
|
Completed in 129 milliseconds