Searched refs:ling (Results 1 – 3 of 3) sorted by relevance
465 struct linger *ling; in __rpc_tli_set_options() local467 ling = (struct linger *) in __rpc_tli_set_options()469 ling->l_onoff = 0; in __rpc_tli_set_options()475 struct linger *ling; in __rpc_tli_set_options() local477 ling = (struct linger *) in __rpc_tli_set_options()479 ling->l_onoff = 1; in __rpc_tli_set_options()480 ling->l_linger = (int)optval; in __rpc_tli_set_options()
462 struct linger ling; in init_server() local570 ling.l_onoff = 1; in init_server()571 ling.l_linger = 0; in init_server()572 if (setsockopt(pfd->fd, SOL_SOCKET, SO_LINGER, &ling, sizeof (ling))) { in init_server()
358 static const struct linger ling = { 0, 0 }; in setnolinger() local359 return setsockopt(s, SOL_SOCKET, SO_LINGER, &ling, sizeof(ling)); in setnolinger()