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

Split Close
Expand all
Collapse all
          --- old/usr/src/head/arpa/nameser.h
          +++ new/usr/src/head/arpa/nameser.h
   1    1  /*
   2    2   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   3    3   * Use is subject to license terms.
        4 + * Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
   4    5   */
   5    6  
   6    7  /*
   7    8   * Copyright (c) 1983, 1989, 1993
   8    9   *    The Regents of the University of California.  All rights reserved.
   9   10   *
  10   11   * Redistribution and use in source and binary forms, with or without
  11   12   * modification, are permitted provided that the following conditions
  12   13   * are met:
  13   14   * 1. Redistributions of source code must retain the above copyright
↓ open down ↓ 555 lines elided ↑ open up ↑
 569  570  #define ns_parserr              __ns_parserr
 570  571  #define ns_parserr2             __ns_parserr2
 571  572  #define ns_sprintrr             __ns_sprintrr
 572  573  #define ns_sprintrrf            __ns_sprintrrf
 573  574  #define ns_format_ttl           __ns_format_ttl
 574  575  #define ns_parse_ttl            __ns_parse_ttl
 575  576  #define ns_datetosecs           __ns_datetosecs
 576  577  #define ns_name_ntol            __ns_name_ntol
 577  578  #define ns_name_ntop            __ns_name_ntop
 578  579  #define ns_name_pton            __ns_name_pton
      580 +#define ns_name_pton2           __ns_name_pton2
 579  581  #define ns_name_unpack          __ns_name_unpack
 580  582  #define ns_name_pack            __ns_name_pack
 581  583  #define ns_name_compress        __ns_name_compress
 582  584  #define ns_name_uncompress      __ns_name_uncompress
 583  585  #define ns_name_skip            __ns_name_skip
 584  586  #define ns_name_rollback        __ns_name_rollback
 585  587  #define ns_name_length          __ns_name_length
 586  588  #define ns_name_eq              __ns_name_eq
 587  589  #define ns_name_owned           __ns_name_owned
 588  590  #define ns_name_map             __ns_name_map
↓ open down ↓ 36 lines elided ↑ open up ↑
 625  627  int             ns_sprintrrf(const uchar_t *, size_t, const char *,
 626  628      ns_class, ns_type, ulong_t, const uchar_t *,
 627  629      size_t, const char *, const char *,
 628  630      char *, size_t);
 629  631  int             ns_format_ttl(ulong_t, char *, size_t);
 630  632  int             ns_parse_ttl(const char *, ulong_t *);
 631  633  uint32_t        ns_datetosecs(const char *cp, int *errp);
 632  634  int             ns_name_ntol(const uchar_t *, uchar_t *, size_t);
 633  635  int             ns_name_ntop(const uchar_t *, char *, size_t);
 634  636  int             ns_name_pton(const char *, uchar_t *, size_t);
      637 +int             ns_name_pton2(const char *, uchar_t *, size_t, size_t *);
 635  638  int             ns_name_unpack(const uchar_t *, const uchar_t *,
 636  639                                      const uchar_t *, uchar_t *, size_t);
 637  640  int             ns_name_pack(const uchar_t *, uchar_t *, int,
 638  641      const uchar_t **, const uchar_t **);
 639  642  int             ns_name_uncompress(const uchar_t *, const uchar_t *,
 640  643                                          const uchar_t *, char *, size_t);
 641  644  int             ns_name_compress(const char *, uchar_t *, size_t,
 642  645                          const uchar_t **, const uchar_t **);
 643  646  int             ns_name_skip(const uchar_t **, const uchar_t *);
 644  647  void    ns_name_rollback(const uchar_t *, const uchar_t **,
↓ open down ↓ 57 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX