Print this page
inet_pton

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/ip6.h
          +++ new/usr/src/uts/common/inet/ip6.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
       25 +/*
       26 + * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
       27 + */
  25   28  
  26   29  #ifndef _INET_IP6_H
  27   30  #define _INET_IP6_H
  28   31  
  29   32  #ifdef  __cplusplus
  30   33  extern "C" {
  31   34  #endif
  32   35  
  33   36  #include <sys/isa_defs.h>
  34   37  
↓ open down ↓ 184 lines elided ↑ open up ↑
 219  222  extern const in6_addr_t ipv6_all_rtrs_mcast;
 220  223  extern const in6_addr_t ipv6_all_v2rtrs_mcast;
 221  224  extern const in6_addr_t ipv6_solicited_node_mcast;
 222  225  extern const in6_addr_t ipv6_unspecified_group;
 223  226  
 224  227  /*
 225  228   * FUNCTION PROTOTYPES
 226  229   */
 227  230  
 228  231  extern void     convert2ascii(char *buf, const in6_addr_t *addr);
 229      -extern char     *inet_ntop(int, const void *, char *, int);
 230      -extern int      inet_pton(int, char *, void *);
 231  232  extern void     icmp_param_problem_nexthdr_v6(mblk_t *, boolean_t,
 232  233      ip_recv_attr_t *);
 233  234  extern void     icmp_pkt2big_v6(mblk_t *, uint32_t, boolean_t,
 234  235      ip_recv_attr_t *);
 235  236  extern void     icmp_time_exceeded_v6(mblk_t *, uint8_t, boolean_t,
 236  237      ip_recv_attr_t *);
 237  238  extern void     icmp_unreachable_v6(mblk_t *, uint8_t, boolean_t,
 238  239      ip_recv_attr_t *);
 239  240  extern mblk_t   *icmp_inbound_v6(mblk_t *, ip_recv_attr_t *);
 240  241  extern void     icmp_inbound_error_fanout_v6(mblk_t *, icmp6_t *,
↓ open down ↓ 55 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX