Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2014 18:37:22 GMT
From:      shonali@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r269636 - soc2014/shonali/head/contrib/bsnmp/snmpd
Message-ID:  <201406161837.s5GIbMbK024471@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: shonali
Date: Mon Jun 16 18:37:22 2014
New Revision: 269636
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=269636

Log:

Added:
  soc2014/shonali/head/contrib/bsnmp/snmpd/trans_udpv6.h

Added: soc2014/shonali/head/contrib/bsnmp/snmpd/trans_udpv6.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ soc2014/shonali/head/contrib/bsnmp/snmpd/trans_udpv6.h	Mon Jun 16 18:37:22 2014	(r269636)
@@ -0,0 +1,50 @@
+/*
+ * Copyright (c) 2003
+ *	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
+ *	All rights reserved.
+ *
+ * Author: Harti Brandt <harti@freebsd.org>
+ * 
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $Begemot: bsnmp/snmpd/trans_udpv6.h,v 1.3 2004/08/06 08:47:16 brandt Exp $
+ *
+ * UDP transport
+ */
+struct udpv6_port {
+	struct tport	tport;		/* must begin with this */
+
+	uint8_t		addr[16];	/* host byteorder */
+	uint16_t	port;		/* host byteorder */
+
+	struct port_input input;	/* common input stuff */
+
+	struct sockaddr_in6 ret;	/* the return address */
+};
+
+/* argument for open call */
+struct udpv6_open {
+	uint8_t		addr[16];	/* host byteorder */
+	uint16_t	port;		/* host byteorder */
+};
+
+extern const struct transport_def udpv6_trans;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406161837.s5GIbMbK024471>