Deleted Added
full compact
netbios.h (88741) netbios.h (94913)
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 88741 2001-12-31 19:29:43Z bp $
32 * $FreeBSD: head/sys/netsmb/netbios.h 94913 2002-04-17 03:12:24Z 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_

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

55#define NB_ENCNAMELEN NB_NAMELEN * 2
56#define NB_MAXLABLEN 63
57
58#define NB_MINSALEN (sizeof(struct sockaddr_nb))
59
60/*
61 * name types
62 */
33 */
34#ifndef _NETSMB_NETBIOS_H_
35#define _NETSMB_NETBIOS_H_
36
37/*
38 * make this file dirty...
39 */
40#ifndef _NETINET_IN_H_

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

55#define NB_ENCNAMELEN NB_NAMELEN * 2
56#define NB_MAXLABLEN 63
57
58#define NB_MINSALEN (sizeof(struct sockaddr_nb))
59
60/*
61 * name types
62 */
63#define NBT_WKSTA 0x00
64#define NBT_SERVER 0x20
63#define NBT_WKSTA 0x00
64#define NBT_MESSENGER 0x03
65#define NBT_RAS_SERVER 0x06
66#define NBT_DOMAIN_MASTER_BROWSER 0x1B
67#define NBT_DOMAIN_CONTROLLER 0x1C
68#define NBT_MASTER_BROWSER 0x1D
69#define NBT_NETDDE 0x1F
70#define NBT_SERVER 0x20
71#define NBT_RAS_CLIENT 0x21
65
66/*
67 * Session packet types
68 */
69#define NB_SSN_MESSAGE 0x0
70#define NB_SSN_REQUEST 0x81
71#define NB_SSN_POSRESP 0x82
72#define NB_SSN_NEGRESP 0x83

--- 66 unchanged lines hidden ---
72
73/*
74 * Session packet types
75 */
76#define NB_SSN_MESSAGE 0x0
77#define NB_SSN_REQUEST 0x81
78#define NB_SSN_POSRESP 0x82
79#define NB_SSN_NEGRESP 0x83

--- 66 unchanged lines hidden ---