Wireshark
5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-ax25.h
Go to the documentation of this file.
1
12
13
#ifndef __PACKET_AX25_H__
14
#define __PACKET_AX25_H__
15
16
/* AX.25 Layer 3 Protocol ID's (pid) */
17
#define AX25_P_ROSE 0x01
/* ISO 8208 / CCITT X.25 PLP */
18
#define AX25_P_RFC1144C 0x06
/* Compressed TCP/IP packet. Van Jacobson RFC1144 */
19
#define AX25_P_RFC1144 0x07
/* Uncompressed TCP/IP packet. Van Jacobson RFC1144 */
20
#define AX25_P_SEGMENT 0x08
/* segmentation fragment */
21
#define AX25_P_TEXNET 0xC3
/* TEXNET datagram */
22
#define AX25_P_LCP 0xC4
/* Link Quality Protocol */
23
#define AX25_P_ATALK 0xCA
/* AppleTalk */
24
#define AX25_P_ATALKARP 0xCB
/* AppleTalk ARP */
25
#define AX25_P_IP 0xCC
/* ARPA Internet Protocol */
26
#define AX25_P_ARP 0xCD
/* ARPA Address Resolution Protocol */
27
#define AX25_P_FLEXNET 0xCE
/* FlexNet */
28
#define AX25_P_NETROM 0xCF
/* NET/ROM */
29
#define AX25_P_NO_L3 0xF0
/* No layer 3 protocol */
30
#define AX25_P_L3_ESC 0xFF
/* Escape character. Next octet contains more layer 3 protocol info */
31
32
/*
33
* Key for p_add_proto_data(pinfo->pool, pinfo, proto_ax25, ...).
34
*
35
* An encapsulating dissector that knows which radio port a frame came
36
* from (KISS) stores GUINT_TO_POINTER(port + 1) under this key just
37
* before calling the AX.25 dissector. The AX.25 dissector consumes and
38
* removes it, and uses the port as part of the link (conversation) key.
39
*
40
* The data pointer isn't used for this because the AX.25 dissector is
41
* also reached through wtap_encap and ip.proto, whose callers pass data
42
* pointers of their own.
43
*/
44
#define AX25_PROTO_DATA_PORT 0x80000001U
45
46
/*
47
* Same mechanism: GUINT_TO_POINTER(n) when the last n octets handed to
48
* the AX.25 dissector aren't part of the AX.25 frame (a KISS checksum).
49
* They are still dissected as before; AX.25 only leaves them out where
50
* the length of the frame matters.
51
*/
52
#define AX25_PROTO_DATA_TRAILER 0x80000003U
53
54
#endif
/* __PACKET_AX25_H__ */
Generated by
1.15.0