Print this page
7388 Support DHCP Client FQDN. Allow IAID/DUID for all v4.

@@ -1,8 +1,9 @@
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ * Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
  */
 
 /*
  * Copyright (c) 1983, 1989, 1993
  *    The Regents of the University of California.  All rights reserved.

@@ -574,10 +575,11 @@
 #define ns_parse_ttl            __ns_parse_ttl
 #define ns_datetosecs           __ns_datetosecs
 #define ns_name_ntol            __ns_name_ntol
 #define ns_name_ntop            __ns_name_ntop
 #define ns_name_pton            __ns_name_pton
+#define ns_name_pton2           __ns_name_pton2
 #define ns_name_unpack          __ns_name_unpack
 #define ns_name_pack            __ns_name_pack
 #define ns_name_compress        __ns_name_compress
 #define ns_name_uncompress      __ns_name_uncompress
 #define ns_name_skip            __ns_name_skip

@@ -630,10 +632,11 @@
 int             ns_parse_ttl(const char *, ulong_t *);
 uint32_t        ns_datetosecs(const char *cp, int *errp);
 int             ns_name_ntol(const uchar_t *, uchar_t *, size_t);
 int             ns_name_ntop(const uchar_t *, char *, size_t);
 int             ns_name_pton(const char *, uchar_t *, size_t);
+int             ns_name_pton2(const char *, uchar_t *, size_t, size_t *);
 int             ns_name_unpack(const uchar_t *, const uchar_t *,
                                     const uchar_t *, uchar_t *, size_t);
 int             ns_name_pack(const uchar_t *, uchar_t *, int,
     const uchar_t **, const uchar_t **);
 int             ns_name_uncompress(const uchar_t *, const uchar_t *,