Lines Matching full:connect
230 ret = connect(sock_fd, &srv->ipv4_addr, addrlen); in connect_variant_addrlen()
234 ret = connect(sock_fd, &srv->ipv6_addr, addrlen); in connect_variant_addrlen()
238 ret = connect(sock_fd, &srv->unix_addr, addrlen); in connect_variant_addrlen()
543 /* Starts invalid addrlen tests with connect. */ in test_bind_and_connect()
547 /* Tries to connect with zero as addrlen. */ in test_bind_and_connect()
550 /* Tries to connect with too small addrlen. */ in test_bind_and_connect()
554 /* Tries to connect with minimal addrlen. */ in test_bind_and_connect()
566 TH_LOG("Failed to connect to socket: %s", in test_bind_and_connect()
660 /* Allows connect and bind for the first port. */ in TEST_F()
665 /* Allows connect and denies bind for the second port. */ in TEST_F()
688 TEST_F(protocol, connect) in TEST_F() argument
710 /* Allows connect and bind for the first port. */ in TEST_F()
715 /* Allows bind and denies connect for the second port. */ in TEST_F()
846 /* Tries to connect again, or set peer. */ in TEST_F()
859 /* Allows connect. */ in TEST_F()
890 /* Denies connect. */ in TEST_F()
1001 /* Denies connect and bind to check errno value. */ in TEST_F()
1006 /* Allows connect and bind for srv0. */ in TEST_F()
1021 /* Checks unix stream bind and connect for srv0. */ in TEST_F()
1025 /* Checks unix stream bind and connect for srv1. */ in TEST_F()
1032 /* Checks unix datagram bind and connect for srv0. */ in TEST_F()
1036 /* Checks unix datagram bind and connect for srv1. */ in TEST_F()
1154 /* Also allows bind, but allows connect too. */ in TEST_F()
1186 /* Try to allow bind and connect. */ in TEST_F()
1195 * Forbids to connect to the socket because only one ruleset layer in TEST_F()
1196 * allows connect. in TEST_F()
1226 /* Expands network mask with connect action. */ in TEST_F()
1231 /* Allows bind for srv0 and connect to srv0. */ in TEST_F()
1262 /* Allows connect to srv0, without bind rule. */ in TEST_F()
1721 /* Adds a rule layer with bind and connect actions. */ in TEST_F()
1738 /* Checks zero port value on bind and connect actions. */ in TEST_F()
1789 /* Adds a rule layer with bind and connect actions. */ in TEST_F()
1975 TEST_F(audit, connect) in TEST_F() argument