1 /* { dg-do assemble } */
2 /* Invalid assembly generated due to port bug. */
4 unsigned int window_clamp
;
5 unsigned int rcv_ssthresh
;
8 extern int sysctl_tcp_app_win
;
9 void tcp_init_buffer_space(struct tcp_opt
*tp
, int maxwin
)
11 if (tp
->window_clamp
>= maxwin
)
12 if (sysctl_tcp_app_win
&& maxwin
>4*tp
->advmss
)
16 typeof(4*tp
->advmss
) _y
= (4*tp
->advmss
);
20 if (sysctl_tcp_app_win
21 && tp
->window_clamp
> 2*tp
->advmss
22 && tp
->window_clamp
+ tp
->advmss
> maxwin
)
25 unsigned short _x
= maxwin
;
26 unsigned short _y
= (maxwin
-tp
->advmss
);
31 unsigned int _x
= (tp
->rcv_ssthresh
);
32 unsigned int _y
= (tp
->window_clamp
);