uint16_t dport;
uint32_t v4addr;
uint16_t v6addr[8];
- int v4addr_len, v6addr_len;
+ unsigned int v4addr_len, v6addr_len;
),
TP_code(
sc_in(
sc_in(ctf_integer_hex(int, addrlen, addrlen))
sc_in(ctf_integer(int, family, tp_locvar->sa_family))
sc_in(ctf_integer_network(uint16_t, dport, tp_locvar->dport))
- sc_in(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, int, tp_locvar->v4addr_len))
- sc_in(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, int, tp_locvar->v6addr_len))
+ sc_in(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, unsigned int, tp_locvar->v4addr_len))
+ sc_in(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, unsigned int, tp_locvar->v6addr_len))
)
)
sc_inout(ctf_integer(int, upeer_addrlen, tp_locvar->uaddr_len))
sc_out(ctf_integer(int, family, tp_locvar->sa_family))
sc_out(ctf_integer_network(uint16_t, sport, tp_locvar->sport))
- sc_in(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, int, tp_locvar->v4addr_len))
- sc_in(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, int, tp_locvar->v6addr_len))
+ sc_in(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, unsigned int, tp_locvar->v4addr_len))
+ sc_in(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, unsigned int, tp_locvar->v6addr_len))
)
)
#undef ctf_sequence_text_nowrite
#define ctf_sequence_text_nowrite(_type, _item, _user_src, _length_type, _user_src_length) \
_ctf_sequence_encoded(_type, _item, _user_src, \
- _length_type, _user_src_length, UTF8, __BYTE_ORDER, 0, 0, 1)
+ _length_type, _user_src_length, UTF8, __BYTE_ORDER, 10, 0, 1)
#undef ctf_string_nowrite
#define ctf_string_nowrite(_item, _user_src) \
#undef ctf_user_sequence_text_nowrite
#define ctf_user_sequence_text_nowrite(_type, _item, _user_src, _length_type, _user_src_length) \
_ctf_sequence_encoded(_type, _item, _user_src, \
- _length_type, _user_src_length, UTF8, __BYTE_ORDER, 0, 1, 1)
+ _length_type, _user_src_length, UTF8, __BYTE_ORDER, 10, 1, 1)
#undef ctf_user_string_nowrite
#define ctf_user_string_nowrite(_item, _user_src) \
#undef ctf_sequence_text
#define ctf_sequence_text(_type, _item, _src, _length_type, _src_length) \
_ctf_sequence_encoded(_type, _item, _src, \
- _length_type, _src_length, UTF8, __BYTE_ORDER, 0, 0, 0)
+ _length_type, _src_length, UTF8, __BYTE_ORDER, 10, 0, 0)
#undef ctf_string
#define ctf_string(_item, _src) \
#undef ctf_user_sequence_text
#define ctf_user_sequence_text(_type, _item, _src, _length_type, _src_length) \
_ctf_sequence_encoded(_type, _item, _src, \
- _length_type, _src_length, UTF8, __BYTE_ORDER, 0, 1, 0)
+ _length_type, _src_length, UTF8, __BYTE_ORDER, 10, 1, 0)
#undef ctf_user_string
#define ctf_user_string(_item, _src) \