ng_ccatm.4 (208291) | ng_ccatm.4 (231564) |
---|---|
1.\" 2.\" Copyright (c) 2001-2004 3.\" Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4.\" All rights reserved. 5.\" Copyright (c) 2005 6.\" Hartmut Brandt. 7.\" All rights reserved. 8.\" --- 15 unchanged lines hidden (view full) --- 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" | 1.\" 2.\" Copyright (c) 2001-2004 3.\" Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4.\" All rights reserved. 5.\" Copyright (c) 2005 6.\" Hartmut Brandt. 7.\" All rights reserved. 8.\" --- 15 unchanged lines hidden (view full) --- 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" |
32.\" $FreeBSD: head/share/man/man4/ng_ccatm.4 208291 2010-05-19 08:57:53Z uqs $ | 32.\" $FreeBSD: head/share/man/man4/ng_ccatm.4 231564 2012-02-12 18:29:56Z ed $ |
33.\" 34.Dd March 10, 2005 35.Dt NG_CCATM 4 36.Os 37.Sh NAME 38.Nm ng_ccatm 39.Nd "ATM Call Control netgraph node type" 40.Sh SYNOPSIS --- 64 unchanged lines hidden (view full) --- 105.Pp 106All other hook names are taken to be user hooks and correspond to an 107ATM endpoint as specified in the ATM Forum document. 108The interface on these hooks is defined in 109.In atmapi.h 110and uses a structure 111.Bd -literal 112struct ccatm_op { | 33.\" 34.Dd March 10, 2005 35.Dt NG_CCATM 4 36.Os 37.Sh NAME 38.Nm ng_ccatm 39.Nd "ATM Call Control netgraph node type" 40.Sh SYNOPSIS --- 64 unchanged lines hidden (view full) --- 105.Pp 106All other hook names are taken to be user hooks and correspond to an 107ATM endpoint as specified in the ATM Forum document. 108The interface on these hooks is defined in 109.In atmapi.h 110and uses a structure 111.Bd -literal 112struct ccatm_op { |
113 u_int32_t op; /* request code */ | 113 uint32_t op; /* request code */ |
114 u_char data[]; /* optional data */ 115}; 116.Ed 117.Pp 118This structure is followed directly by the data for the operation. 119The opcode is one of the following: 120.Bd -literal 121enum atmop { --- 103 unchanged lines hidden (view full) --- 225.Vt ngm_ccatm_get_addresses 226structure: 227.Bd -literal 228struct ngm_ccatm_get_addresses { 229 uint32_t count; 230 struct ngm_ccatm_address_req addr[0]; 231}; 232struct ngm_ccatm_address_req { | 114 u_char data[]; /* optional data */ 115}; 116.Ed 117.Pp 118This structure is followed directly by the data for the operation. 119The opcode is one of the following: 120.Bd -literal 121enum atmop { --- 103 unchanged lines hidden (view full) --- 225.Vt ngm_ccatm_get_addresses 226structure: 227.Bd -literal 228struct ngm_ccatm_get_addresses { 229 uint32_t count; 230 struct ngm_ccatm_address_req addr[0]; 231}; 232struct ngm_ccatm_address_req { |
233 u_int32_t port; | 233 uint32_t port; |
234 struct uni_addr addr; 235}; 236.Ed 237.Pp 238If the 239.Va port 240field is zero in the request, all addresses on all ports 241are returned. --- 83 unchanged lines hidden --- | 234 struct uni_addr addr; 235}; 236.Ed 237.Pp 238If the 239.Va port 240field is zero in the request, all addresses on all ports 241are returned. --- 83 unchanged lines hidden --- |