*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> ng_UI (4)              



NAME    [Toc]    [Back]

     ng_UI -- UI netgraph node type

SYNOPSIS    [Toc]    [Back]

     #include <netgraph/ng_UI.h>

DESCRIPTION    [Toc]    [Back]

     The UI node type has two hooks, upstream and downstream.  Packets
     received on downstream must have 0x03 (indicating unnumbered information)
     as their first byte; if not the packet is dropped. This byte is then
     stripped and the remainder of the packet sent out on upstream.

     Conversely, packets received on upstream will have a 0x03 byte prepended
     to them before being forwarded out on the downstream hook.

HOOKS    [Toc]    [Back]

     This node type supports the following hooks:

	     Downstream connection. Packets on this side of the node have a
	     0x03 as their first byte.

	     Upstream connection. Packets on this side of the node have the
	     initial 0x03 byte stripped off.

CONTROL MESSAGES    [Toc]    [Back]

     This node type supports only the generic control messages.

SHUTDOWN    [Toc]    [Back]

     This node shuts down upon receipt of a NGM_SHUTDOWN control message, or
     when both hooks have been disconnected.

SEE ALSO    [Toc]    [Back]

     netgraph(4), ngctl(8)

HISTORY    [Toc]    [Back]

     The ng_UI node type was implemented in FreeBSD 4.0.

AUTHORS    [Toc]    [Back]

     Julian Elischer <julian@FreeBSD.org>

FreeBSD 5.2.1		       January 19, 1999 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
ng_atm FreeBSD netgraph ATM node type
ng_uni FreeBSD netgraph UNI node type
ng_sscop FreeBSD netgraph SSCOP node type
ng_tee FreeBSD netgraph ``tee'' node type
ng_device FreeBSD device netgraph node type
ng_echo FreeBSD netgraph echo node type
ng_hole FreeBSD netgraph discard node type
ng_ether FreeBSD Ethernet netgraph node type
ng_rfc1490 FreeBSD RFC 1490 netgraph node type
ng_socket FreeBSD netgraph socket node type
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service