blob: 639d3211d67d77ffcb93f32c5796f52c0e4f759e [file] [log] [blame]
Willy Tarreau87b60b22022-05-17 16:08:36 +02001@@
2struct conn_stream *cs;
3expression e;
4@@
5(
6- (cs->endp->flags & (e))
7+ sc_ep_test(cs, e)
8|
9- (cs->endp->flags & e)
10+ sc_ep_test(cs, e)
11|
12- cs->endp->flags & (e)
13+ sc_ep_test(cs, e)
14|
15- cs->endp->flags & e
16+ sc_ep_test(cs, e)
17)
18
19@@
20struct conn_stream *cs;
21expression e;
22@@
23(
24- cs->endp->flags |= (e)
25+ sc_ep_set(cs, e)
26|
27- cs->endp->flags |= e
28+ sc_ep_set(cs, e)
29)
30
31@@
32struct conn_stream *cs;
33expression e;
34@@
35(
36- cs->endp->flags &= ~(e)
37+ sc_ep_clr(cs, e)
38|
39- cs->endp->flags &= (e)
40+ sc_ep_clr(cs, ~e)
41|
42- cs->endp->flags &= ~e
43+ sc_ep_clr(cs, e)
44|
45- cs->endp->flags &= e
46+ sc_ep_clr(cs, ~e)
47)
48
49@@
50struct conn_stream *cs;
51@@
52- cs->endp->flags = 0
53+ sc_ep_zero(cs)
54
55@@
56struct conn_stream *cs;
57expression e;
58@@
59(
60- cs->endp->flags = (e)
61+ sc_ep_setall(cs, e)
62|
63- cs->endp->flags = e
64+ sc_ep_setall(cs, e)
65)
66
67@@
68struct conn_stream *cs;
69@@
70(
71- (cs->endp->flags)
72+ sc_ep_get(cs)
73|
74- cs->endp->flags
75+ sc_ep_get(cs)
76)