Lines Matching refs:sock
69 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument
71 ((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT)))|\
72 (((bs)<<(shift))<<((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT)))
74 #define MECR_GET(mecr, sock, shift, mask) \ argument
75 ((((mecr)>>(((sock)==0)?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT))>>\
78 #define MECR_BSIO_SET(mecr, sock, bs) \ argument
79 MECR_SET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK, (bs))
81 #define MECR_BSIO_GET(mecr, sock) \ argument
82 MECR_GET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK)
84 #define MECR_BSA_SET(mecr, sock, bs) \ argument
85 MECR_SET((mecr), (sock), MECR_BSA_SHIFT, MECR_BS_MASK, (bs))
87 #define MECR_BSA_GET(mecr, sock) \ argument
88 MECR_GET((mecr), (sock), MECR_BSA_SHIFT, MECR_BS_MASK)
90 #define MECR_BSM_SET(mecr, sock, bs) \ argument
91 MECR_SET((mecr), (sock), MECR_BSM_SHIFT, MECR_BS_MASK, (bs))
93 #define MECR_BSM_GET(mecr, sock) \ argument
94 MECR_GET((mecr), (sock), MECR_BSM_SHIFT, MECR_BS_MASK)
96 #define MECR_FAST_SET(mecr, sock, fast) \ argument
97 MECR_SET((mecr), (sock), MECR_FAST_SHIFT, MECR_FAST_MODE_MASK, (fast))
99 #define MECR_FAST_GET(mecr, sock) \ argument
100 MECR_GET((mecr), (sock), MECR_FAST_SHIFT, MECR_FAST_MODE_MASK)