… | |
… | |
70 | PT_PING, PT_PONG, // wasting namespace space? ;) |
70 | PT_PING, PT_PONG, // wasting namespace space? ;) |
71 | PT_AUTH_REQ, // authentification request |
71 | PT_AUTH_REQ, // authentification request |
72 | PT_AUTH_RES, // authentification response |
72 | PT_AUTH_RES, // authentification response |
73 | PT_CONNECT_REQ, // want other node to contact me |
73 | PT_CONNECT_REQ, // want other node to contact me |
74 | PT_CONNECT_INFO, // request connection to some node |
74 | PT_CONNECT_INFO, // request connection to some node |
|
|
75 | PT_DATA_BRIDGED, // uncompressed packet with foreign mac pot. larger than path mtu |
75 | PT_MAX |
76 | PT_MAX |
76 | }; |
77 | }; |
77 | |
78 | |
78 | u8 type; |
79 | u8 type; |
79 | u8 srcdst, src1, dst1; |
80 | u8 srcdst, src1, dst1; |
… | |
… | |
115 | |
116 | |
116 | enum |
117 | enum |
117 | { |
118 | { |
118 | FEATURE_COMPRESSION = 0x01, |
119 | FEATURE_COMPRESSION = 0x01, |
119 | FEATURE_ROHC = 0x02, |
120 | FEATURE_ROHC = 0x02, |
|
|
121 | FEATURE_BRIDGING = 0x04, |
120 | }; |
122 | }; |
121 | |
123 | |
122 | struct connection |
124 | struct connection |
123 | { |
125 | { |
124 | conf_node *conf; |
126 | conf_node *conf; |