Lines Matching defs:domain
141 #define DOMAIN_TO_NETCONN_TYPE(domain, type) (((domain) == AF_INET) ? \
151 #define DOMAIN_TO_NETCONN_TYPE(domain, netconn_type) (netconn_type)
160 #define DOMAIN_TO_NETCONN_TYPE(domain, netconn_type) (netconn_type)
1755 lwip_socket(int domain, int type, int protocol)
1760 LWIP_UNUSED_ARG(domain); /* @todo: check this */
1765 conn = netconn_new_with_proto_and_callback(DOMAIN_TO_NETCONN_TYPE(domain, NETCONN_RAW),
1768 domain == PF_INET ? "PF_INET" : "UNKNOWN", protocol));
1771 conn = netconn_new_with_callback(DOMAIN_TO_NETCONN_TYPE(domain,
1775 domain == PF_INET ? "PF_INET" : "UNKNOWN", protocol));
1784 conn = netconn_new_with_callback(DOMAIN_TO_NETCONN_TYPE(domain, NETCONN_TCP), DEFAULT_SOCKET_EVENTCB);
1786 domain == PF_INET ? "PF_INET" : "UNKNOWN", protocol));
1790 domain, type, protocol));