1*764c8bd8SGordon Ross /* 2*764c8bd8SGordon Ross * This file and its contents are supplied under the terms of the 3*764c8bd8SGordon Ross * Common Development and Distribution License ("CDDL"), version 1.0. 4*764c8bd8SGordon Ross * You may only use this file in accordance with the terms of version 5*764c8bd8SGordon Ross * 1.0 of the CDDL. 6*764c8bd8SGordon Ross * 7*764c8bd8SGordon Ross * A full copy of the text of the CDDL should have accompanied this 8*764c8bd8SGordon Ross * source. A copy of the CDDL is also available via the Internet at 9*764c8bd8SGordon Ross * http://www.illumos.org/license/CDDL. 10*764c8bd8SGordon Ross */ 11*764c8bd8SGordon Ross 12*764c8bd8SGordon Ross /* 13*764c8bd8SGordon Ross * Copyright 2015 Nexenta Systems, Inc. All rights reserved. 14*764c8bd8SGordon Ross */ 15*764c8bd8SGordon Ross 16*764c8bd8SGordon Ross #ifndef _SMBSRV_PCAP_H 17*764c8bd8SGordon Ross #define _SMBSRV_PCAP_H 18*764c8bd8SGordon Ross 19*764c8bd8SGordon Ross extern void smbsrv_pcap_close(); 20*764c8bd8SGordon Ross extern int smbsrv_pcap_open(char *); 21*764c8bd8SGordon Ross 22*764c8bd8SGordon Ross extern int smbsrv_pcap_dump(struct mbuf_chain *, int32_t, 23*764c8bd8SGordon Ross smb_inaddr_t *, uint16_t, smb_inaddr_t *, uint16_t, 24*764c8bd8SGordon Ross hrtime_t, boolean_t); 25*764c8bd8SGordon Ross 26*764c8bd8SGordon Ross #endif /* _SMBSRV_PCAP_H */ 27