Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
sofia-sip
Commits
30e4b1b9
Commit
30e4b1b9
authored
Dec 05, 2006
by
Pekka Pessi
Browse files
tport: use usize_t as TPORT_MTU() parameter
darcs-hash:20061205172738-65a35-6f652d5e4cd9fb2b20d67956866f2508ecccaa1c.gz
parent
92effbb0
Changes
3
Hide whitespace changes
Inline
Side-by-side
libsofia-sip-ua/tport/sofia-sip/tport_tag.h
View file @
30e4b1b9
...
...
@@ -101,10 +101,10 @@ TPORT_DLL extern tag_typedef_t tptag_public_ref;
TPORT_DLL
extern
tag_typedef_t
tptag_mtu
;
/** Specify MTU. */
#define TPTAG_MTU(x) tptag_mtu, tag_u
int
_v((x))
#define TPTAG_MTU(x) tptag_mtu, tag_u
size
_v((x))
TPORT_DLL
extern
tag_typedef_t
tptag_mtu_ref
;
#define TPTAG_MTU_REF(x) tptag_mtu_ref, tag_u
int
_vr(&(x))
#define TPTAG_MTU_REF(x) tptag_mtu_ref, tag_u
size
_vr(&(x))
TPORT_DLL
extern
tag_typedef_t
tptag_connect
;
/** Specify that tport must always use connections. */
...
...
libsofia-sip-ua/tport/tport_internal.h
View file @
30e4b1b9
...
...
@@ -91,7 +91,7 @@ typedef long unsigned LU; /* for printf() and friends */
/** Transport parameters */
typedef
struct
{
u
n
si
gned
tpp_mtu
;
/**< Maximum packet size */
usi
ze_t
tpp_mtu
;
/**< Maximum packet size */
unsigned
tpp_idle
;
/**< Allowed connection idle time. */
unsigned
tpp_timeout
;
/**< Allowed idle time for message. */
unsigned
tpp_sigcomp_lifetime
;
/**< SigComp compartment lifetime */
...
...
libsofia-sip-ua/tport/tport_tag.c
View file @
30e4b1b9
...
...
@@ -57,7 +57,7 @@ tag_typedef_t tptag_reuse = BOOLTAG_TYPEDEF(reuse);
tag_typedef_t
tptag_fresh
=
BOOLTAG_TYPEDEF
(
fresh
);
tag_typedef_t
tptag_server
=
BOOLTAG_TYPEDEF
(
server
);
tag_typedef_t
tptag_public
=
INTTAG_TYPEDEF
(
public
);
tag_typedef_t
tptag_mtu
=
U
INT
TAG_TYPEDEF
(
mtu
);
tag_typedef_t
tptag_mtu
=
U
SIZE
TAG_TYPEDEF
(
mtu
);
tag_typedef_t
tptag_connect
=
BOOLTAG_TYPEDEF
(
connect
);
tag_typedef_t
tptag_sdwn_error
=
BOOLTAG_TYPEDEF
(
sdwn_error
);
tag_typedef_t
tptag_sdwn_after
=
BOOLTAG_TYPEDEF
(
sdwn_after
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment