Lines Matching defs:get_socket
58 * get_socket() is a wrapper function that returns a socket of the specified
95 get_socket(int type, int priv)
763 sock = get_socket(socktype, priv);
765 err(-1, "get_socket(%s, %d) for test_ip_uchar(IP_TOS)",
770 sock = get_socket(socktype, priv);
772 err(-1, "get_socket(%s %d) for test_ip_uchar(IP_TTL)",
777 sock = get_socket(socktype, priv);
779 err(-1, "get_socket(%s, %d) for test_ip_boolean"
785 sock = get_socket(socktype, priv);
787 err(-1, "get_socket(%s, %d) for test_ip_boolean"
793 sock = get_socket(socktype, priv);
795 err(-1, "get_socket(%s, %d) for test_ip_boolean"
801 sock = get_socket(socktype, priv);
803 err(-1, "get_socket(%s, %d) for test_ip_boolean"
809 sock = get_socket(socktype, priv);
811 err(-1, "get_socket(%s, %d) for test_ip_boolean"
817 sock = get_socket(socktype, priv);
819 err(-1, "get_socket(%s, %d) for test_ip_boolean"
825 sock = get_socket(socktype, priv);
827 err(-1, "get_socket(%s, %d) for test_ip_boolean"
837 sock = get_socket(socktype, priv);
839 err(-1, "get_socket(%s, %d) for IP_MULTICAST_TTL",
851 sock = get_socket(socktype, priv);
853 err(-1, "get_socket(%s, %d) for IP_MULTICAST_LOOP",
859 sock = get_socket(socktype, priv);
861 err(-1, "get_socket(%s, %d) for test_ip_options",
866 sock = get_socket(socktype, priv);
868 err(-1, "get_socket(%s, %d) for test_ip_options",