Package dpkt :: Module netbios
[show private | hide private]
[frames | no frames]

Module dpkt.netbios

Network Basic Input/Output System.

Classes
Datagram NetBIOS Datagram Service.
NS NetBIOS Name Service.
Session NetBIOS Session Service.

Function Summary
  decode_name(nbname)
Return the NetBIOS first-level decoded nbname.
  encode_name(name)
Return the NetBIOS first-level encoded name.
  node_to_service_name((name, service, flags))

Variable Summary
int DGRAM_BROADCAST = 18                                                                    
int DGRAM_ERROR = 19                                                                    
int DGRAM_GROUP = 17                                                                    
int DGRAM_NEGATIVE = 22                                                                    
int DGRAM_POSITIVE = 21                                                                    
int DGRAM_QUERY = 20                                                                    
int DGRAM_UNIQUE = 16                                                                    
dict nbstat_svcs = {(190, 1): [('', 'Network Monitor Agent')]...
int NS_IN = 1                                                                     
int SSN_KEEPALIVE = 5                                                                     
int SSN_MESSAGE = 0                                                                     
int SSN_NEGATIVE = 3                                                                     
int SSN_POSITIVE = 2                                                                     
int SSN_REQUEST = 1                                                                     
int SSN_RETARGET = 4                                                                     

Function Details

decode_name(nbname)

Return the NetBIOS first-level decoded nbname.

encode_name(name)

Return the NetBIOS first-level encoded name.

Variable Details

DGRAM_BROADCAST

Type:
int
Value:
18                                                                    

DGRAM_ERROR

Type:
int
Value:
19                                                                    

DGRAM_GROUP

Type:
int
Value:
17                                                                    

DGRAM_NEGATIVE

Type:
int
Value:
22                                                                    

DGRAM_POSITIVE

Type:
int
Value:
21                                                                    

DGRAM_QUERY

Type:
int
Value:
20                                                                    

DGRAM_UNIQUE

Type:
int
Value:
16                                                                    

nbstat_svcs

Type:
dict
Value:
{(0, 0): [('', 'Domain Name')],
 (0, 1): [('IS~', 'IIS'), ('', 'Workstation Service')],
 (1, 0): [('__MSBROWSE__', 'Master Browser')],
 (1, 1): [('', 'Messenger Service')],
 (3, 1): [('', 'Messenger Service')],
 (6, 1): [('', 'RAS Server Service')],
 (27, 1): [('', 'Domain Master Browser')],
 (28, 0): [('INet~Services', 'IIS'), ('', 'Domain Controllers')],
...                                                                    

NS_IN

Type:
int
Value:
1                                                                     

SSN_KEEPALIVE

Type:
int
Value:
5                                                                     

SSN_MESSAGE

Type:
int
Value:
0                                                                     

SSN_NEGATIVE

Type:
int
Value:
3                                                                     

SSN_POSITIVE

Type:
int
Value:
2                                                                     

SSN_REQUEST

Type:
int
Value:
1                                                                     

SSN_RETARGET

Type:
int
Value:
4                                                                     

Generated by Epydoc 2.1 on Sun Oct 1 11:24:13 2006 http://epydoc.sf.net