I want to use the socket can ,but when i enable the Networking support,then display the error.shoud I change something else?

etlib_setifstatus.c: In function ‘netlib_ifdown’:
netlib_setifstatus.c:109:44: error: ‘NET_SOCK_TYPE’ undeclared (first use in this function)
109 | int sockfd = socket(NET_SOCK_FAMILY, NET_SOCK_TYPE, NET_SOCK_PROTOCOL);