Lines Matching +full:common +full:- +full:session
1 .\" Copyright (c) 1996-1999 Whistle Communications, Inc.
19 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
68 .Bl -tag -width ".Va [unspecified]"
81 Any other name is assumed to be a session hook that will be connected to
86 .Bl -tag -width 3n
90 .Bd -literal -offset 4n
97 This generic message returns a human-readable version of the node status.
100 Tell a nominated newly created hook that its session should enter
103 It is legal to specify a zero-length service name, this is common
106 and/or set a specific Host-Uniq tag, required by some Internet providers,
108 .Qq Li [AC-Name\\][Host-Uniq|]Service-Name
110 To set a binary Host-Uniq, it must be encoded as a hexadecimal lowercase
116 .Qq Li my-tag .
117 A session request packet will be broadcast on the Ethernet.
123 .Qq Li my-isp
125 .Qq Li my-host
127 .Qq Li remote-ac
129 .Bd -literal -offset indent
130 "remote-ac\\my-host|my-isp"
133 Tell a nominated newly created hook that its session should enter
137 A zero-length service name will match all requests for service.
142 the session that is started to answer the request.
147 Tell a nominated newly created hook that its session should enter
150 A zero-length service
156 that information that is required for the session that is embedded in
157 the original session request packet, is made available to the state machine
159 When the Session request packet is
160 received, the session negotiation will proceed.
166 The three commands above use a common data structure:
167 .Bd -literal -offset 4n
174 .Bl -tag -width 3n
176 This command is sent to the node that started this session with one of the
178 This message reports successful Session negotiation.
180 reports back the hook name corresponding to the successful session.
182 This command is sent to the node that started this session with one of the
184 This message reports failed Session negotiation.
186 reports back the hook name corresponding to the failed session.
190 This command is sent to the node that started this session with one of the
192 This message reports a request to close a session.
194 reports back the hook name corresponding to the closed session.
202 This command is sent to the node that started this session with one of the
206 The four commands above use a common data structure:
207 .Bd -literal -offset 4n
212 .Bl -tag -width 3n
220 .Bl -tag -width 3n
226 is a PPPoE client, it initiates a session encapsulating packets into
233 .It Qq D-Link
236 is a PPPoE server serving only specific Service-Name(s), it will respond
237 to a PADI requests with empty Service-Name tag, returning all available
238 Service-Name(s) on node.
239 This option is necessary for compatibility with D-Link DI-614+ and DI-624+
240 SOHO routers as clients, when serving only specific Service-Name.
253 the next session in the proprietary 3Com mode:
254 .Bd -literal -offset indent
267 Set the node PPP-Max-Payload value as described in RFC 4638.
274 .Bd -literal -offset 4n
281 Tell a nominated hook with an active session to send a PADM message with
284 .Bd -literal -offset indent
288 Tell a nominated hook with an active session to send a PADM message with
291 .Bd -literal -offset indent
298 .Bl -tag -width 3n
300 This command is sent to the node that started this session when a PADM
304 This command is sent to the node that started this session when a PADM
309 The two commands above use a common data structure:
310 .Bd -literal -offset 4n
318 control message, when all session have been disconnected or when the
323 with 3-bit Priority Code Point (PCP) referring to IEEE 802.1p
327 .Bl -tag -width indent
329 Set it to non-zero value to be used by parent network interface driver
342 It then starts a client session.
343 .Bd -literal
383 = (struct hooklist *) resp->data;
384 struct nodeinfo *const ninfo = &hlist->nodeinfo;
388 /****message to connect PPPoE session*****/
425 * ninfo->name (string)
426 * ninfo->type (string)
427 * ninfo->id (uint32_t)
428 * ninfo->hooks (uint32_t) (count of hooks)
432 if (strncmp(ninfo->type, NG_ETHER_NODE_TYPE,
436 sprintf(source_ID, "[%08x]:", ninfo->id);
441 for (k = 0; k < ninfo->hooks; k++) {
444 * link->ourhook (string)
445 * link->peerhook (string)
446 * peer->name (string)
447 * peer->type (string)
448 * peer->id (uint32_t)
449 * peer->hooks (uint32_t)
451 link = &hlist->link[k];
452 peer = &hlist->link[k].nodeinfo;
455 if (strcmp("debug", link->ourhook) == 0)
460 link->ourhook) == 0) {
465 link->ourhook) == 0) {
473 if (k < ninfo->hooks) {
474 if (strcmp(peer->type, NG_PPPOE_NODE_TYPE) == 0) {
480 sprintf(pppoe_node_name, "[%08x]:", peer->id);
485 * daisy-chaining..
531 * configure node to non-standard mode.
535 strlen(NG_PPPOE_NONSTANDARD) + 1) == -1) {
553 /* Tell session/hook to start up as a client */