Lines Matching refs:c1
94 int c0 = -1, p0 = -1, c1 = -1, p1 = -1; in test_sockmap_strp_dispatch_pkt() local
107 {"rrrrr", 5, 0, &c1} in test_sockmap_strp_dispatch_pkt()
114 err = create_socket_pairs(family, sotype, &c0, &c1, &p0, &p1); in test_sockmap_strp_dispatch_pkt()
126 err = setsockopt(c1, IPPROTO_TCP, TCP_NODELAY, &zero, sizeof(zero)); in test_sockmap_strp_dispatch_pkt()
156 close(c1); in test_sockmap_strp_dispatch_pkt()
372 int c0 = -1, p0 = -1, c1 = -1, p1 = -1; in test_sockmap_strp_verdict() local
385 err = create_socket_pairs(family, sotype, &c0, &c1, &p0, &p1); in test_sockmap_strp_verdict()
401 recvd = recv_timeout(c1, rcv, sizeof(rcv), MSG_DONTWAIT, in test_sockmap_strp_verdict()
415 recvd = recv_timeout(c1, rcv, off, MSG_DONTWAIT, in test_sockmap_strp_verdict()
417 recvd += recv_timeout(c1, rcv + off, sizeof(rcv) - off, MSG_DONTWAIT, in test_sockmap_strp_verdict()
427 close(c1); in test_sockmap_strp_verdict()