Print this page
4596 Callers of ip_srcid_find_id() need to be more careful
@@ -22,10 +22,11 @@
/*
* Copyright (c) 1990 Mentat Inc.
* Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, Joyent, Inc. All rights reserved.
* Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved.
*/
#ifndef _INET_IP_H
#define _INET_IP_H
@@ -3451,11 +3452,12 @@
extern void ire_untrace_ref(ire_t *);
#endif
extern int ip_srcid_insert(const in6_addr_t *, zoneid_t, ip_stack_t *);
extern int ip_srcid_remove(const in6_addr_t *, zoneid_t, ip_stack_t *);
-extern void ip_srcid_find_id(uint_t, in6_addr_t *, zoneid_t, netstack_t *);
+extern boolean_t ip_srcid_find_id(uint_t, in6_addr_t *, zoneid_t, boolean_t,
+ netstack_t *);
extern uint_t ip_srcid_find_addr(const in6_addr_t *, zoneid_t, netstack_t *);
extern uint8_t ipoptp_next(ipoptp_t *);
extern uint8_t ipoptp_first(ipoptp_t *, ipha_t *);
extern int ip_opt_get_user(conn_t *, uchar_t *);