Print this page
inet_pton
*** 19,28 ****
--- 19,29 ----
* CDDL HEADER END
*/
/*
* Copyright 2000 by Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
*/
#ifndef _ISCSI_H
#define _ISCSI_H
*** 52,61 ****
--- 53,63 ----
#include <iscsi_stats.h>
#include <iscsi_thread.h>
#include <sys/idm/idm.h>
#include <sys/idm/idm_conn_sm.h>
#include <nvfile.h>
+ #include <inet/ip.h>
#ifndef MIN
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif
*** 1401,1416 ****
boolean_t iscsi_client_request_service(iscsi_hba_t *ihp);
void iscsi_client_release_service(iscsi_hba_t *ihp);
extern void bcopy(const void *s1, void *s2, size_t n);
extern void bzero(void *s, size_t n);
- /*
- * Here we need a contract for inet_ntop() and inet_pton()
- * in uts/common/inet/ip/inet_ntop.c
- */
- extern char *inet_ntop(int af, const void *addr, char *buf, int addrlen);
- extern int inet_pton(int af, char *inp, void *outp);
#ifdef __cplusplus
}
#endif
--- 1403,1412 ----