Lines Matching refs:side
74 proto_alloc(struct proto *proto, int side)
79 PJDLOG_ASSERT(side == PROTO_SIDE_CLIENT ||
80 side == PROTO_SIDE_SERVER_LISTEN ||
81 side == PROTO_SIDE_SERVER_WORK);
86 conn->pc_side = side;
109 struct proto_conn **connp, int side)
116 PJDLOG_ASSERT(side == PROTO_SIDE_CLIENT ||
117 side == PROTO_SIDE_SERVER_LISTEN);
120 if (side == PROTO_SIDE_CLIENT) {
125 } else /* if (side == PROTO_SIDE_SERVER_LISTEN) */ {
149 conn = proto_alloc(proto, side);