Fix :
packet-tcp.c:3337: error: ‘dissect_tcpopt_maxseg’ undeclared here (not in a function)
packet-tcp.c:2264: error: ‘dissec_tcpopt_exp’ defined but not used
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38176
f5534014-38df-0310-8fa8-
9805f1628bb7
static void
-dissec_tcpopt_exp(const ip_tcp_opt *optp _U_, tvbuff_t *tvb,
+dissect_tcpopt_exp(const ip_tcp_opt *optp _U_, tvbuff_t *tvb,
int offset, guint optlen, packet_info *pinfo, proto_tree *opt_tree)
{
proto_item *item;
NULL,
FIXED_LENGTH,
TCPOLEN_MSS,
- dissect_tcpopt_maxseg
+ dissect_tcpopt_mss
},
{
TCPOPT_WINDOW,
FIXED_LENGTH,
TCPOLEN_RVBD_TRPY_MIN,
dissect_tcpopt_rvbd_trpy
- }
+ },
+ {
+ TCPOPT_EXP_FD,
+ "Experimental",
+ NULL,
+ VARIABLE_LENGTH,
+ TCPOLEN_EXP_MIN,
+ dissect_tcpopt_exp
+ },
+ {
+ TCPOPT_EXP_FE,
+ "Experimental",
+ NULL,
+ VARIABLE_LENGTH,
+ TCPOLEN_EXP_MIN,
+ dissect_tcpopt_exp
+ }
};
#define N_TCP_OPTS array_length(tcpopts)