Lines Matching refs:side
71 proto_alloc(struct proto *proto, int side)
76 PJDLOG_ASSERT(side == PROTO_SIDE_CLIENT ||
77 side == PROTO_SIDE_SERVER_LISTEN ||
78 side == PROTO_SIDE_SERVER_WORK);
83 conn->pc_side = side;
106 int side, struct proto_conn **connp)
113 PJDLOG_ASSERT(side == PROTO_SIDE_CLIENT ||
114 side == PROTO_SIDE_SERVER_LISTEN);
117 if (side == PROTO_SIDE_CLIENT) {
124 } else /* if (side == PROTO_SIDE_SERVER_LISTEN) */ {
148 conn = proto_alloc(proto, side);