Lines Matching defs:side
72 proto_alloc(struct proto *proto, int side)
77 PJDLOG_ASSERT(side == PROTO_SIDE_CLIENT ||
78 side == PROTO_SIDE_SERVER_LISTEN ||
79 side == PROTO_SIDE_SERVER_WORK);
84 conn->pc_side = side;
107 struct proto_conn **connp, int side)
114 PJDLOG_ASSERT(side == PROTO_SIDE_CLIENT ||
115 side == PROTO_SIDE_SERVER_LISTEN);
118 if (side == PROTO_SIDE_CLIENT) {
123 } else /* if (side == PROTO_SIDE_SERVER_LISTEN) */ {
147 conn = proto_alloc(proto, side);