Deleted Added
full compact
netbios.h (139823) netbios.h (150802)
1/*-
2 * Copyright (c) 2000-2001 Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
1/*-
2 * Copyright (c) 2000-2001 Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/netsmb/netbios.h 139823 2005-01-07 01:45:51Z imp $
32 * $FreeBSD: head/sys/netsmb/netbios.h 150802 2005-10-02 08:32:49Z bp $
33 */
34#ifndef _NETSMB_NETBIOS_H_
35#define _NETSMB_NETBIOS_H_
36
37/*
38 * make this file dirty...
39 */
40#ifndef _NETINET_IN_H_
41#include <netinet/in.h>
42#endif
43
44#ifndef _NETIPX_IPX_H_
45#include <netipx/ipx.h>
46#endif
47
33 */
34#ifndef _NETSMB_NETBIOS_H_
35#define _NETSMB_NETBIOS_H_
36
37/*
38 * make this file dirty...
39 */
40#ifndef _NETINET_IN_H_
41#include <netinet/in.h>
42#endif
43
44#ifndef _NETIPX_IPX_H_
45#include <netipx/ipx.h>
46#endif
47
48#define NMB_TCP_PORT 137
49
48#define NBPROTO_TCPSSN 1 /* NETBIOS session over TCP */
49#define NBPROTO_IPXSSN 11 /* NETBIOS over IPX */
50
51#define NB_NAMELEN 16
52#define NB_ENCNAMELEN NB_NAMELEN * 2
53#define NB_MAXLABLEN 63
54
55#define NB_MINSALEN (sizeof(struct sockaddr_nb))

--- 87 unchanged lines hidden ---
50#define NBPROTO_TCPSSN 1 /* NETBIOS session over TCP */
51#define NBPROTO_IPXSSN 11 /* NETBIOS over IPX */
52
53#define NB_NAMELEN 16
54#define NB_ENCNAMELEN NB_NAMELEN * 2
55#define NB_MAXLABLEN 63
56
57#define NB_MINSALEN (sizeof(struct sockaddr_nb))

--- 87 unchanged lines hidden ---