rpcb_clnt.c (287341) | rpcb_clnt.c (287350) |
---|---|
1/* $NetBSD: rpcb_clnt.c,v 1.6 2000/07/16 06:41:43 itojun Exp $ */ 2 3/*- 4 * Copyright (c) 2010, Oracle America, Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 21 unchanged lines hidden (view full) --- 30 31/* #ident "@(#)rpcb_clnt.c 1.27 94/04/24 SMI" */ 32 33 34#if defined(LIBC_SCCS) && !defined(lint) 35static char sccsid[] = "@(#)rpcb_clnt.c 1.30 89/06/21 Copyr 1988 Sun Micro"; 36#endif 37#include <sys/cdefs.h> | 1/* $NetBSD: rpcb_clnt.c,v 1.6 2000/07/16 06:41:43 itojun Exp $ */ 2 3/*- 4 * Copyright (c) 2010, Oracle America, Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 21 unchanged lines hidden (view full) --- 30 31/* #ident "@(#)rpcb_clnt.c 1.27 94/04/24 SMI" */ 32 33 34#if defined(LIBC_SCCS) && !defined(lint) 35static char sccsid[] = "@(#)rpcb_clnt.c 1.30 89/06/21 Copyr 1988 Sun Micro"; 36#endif 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/lib/libc/rpc/rpcb_clnt.c 287341 2015-09-01 02:39:07Z rodrigc $"); | 38__FBSDID("$FreeBSD: head/lib/libc/rpc/rpcb_clnt.c 287350 2015-09-01 08:34:44Z rodrigc $"); |
39 40/* 41 * rpcb_clnt.c 42 * interface to rpcbind rpc service. 43 */ 44 45#include "namespace.h" 46#include "reentrant.h" --- 603 unchanged lines hidden (view full) --- 650 return (na); 651} 652 653/* 654 * Quick check to see if rpcbind is up. Tries to connect over 655 * local transport. 656 */ 657static bool_t | 39 40/* 41 * rpcb_clnt.c 42 * interface to rpcbind rpc service. 43 */ 44 45#include "namespace.h" 46#include "reentrant.h" --- 603 unchanged lines hidden (view full) --- 650 return (na); 651} 652 653/* 654 * Quick check to see if rpcbind is up. Tries to connect over 655 * local transport. 656 */ 657static bool_t |
658__rpcbind_is_up() | 658__rpcbind_is_up(void) |
659{ 660 struct netconfig *nconf; 661 struct sockaddr_un sun; 662 void *localhandle; 663 int sock; 664 665 nconf = NULL; 666 localhandle = setnetconfig(); --- 646 unchanged lines hidden --- | 659{ 660 struct netconfig *nconf; 661 struct sockaddr_un sun; 662 void *localhandle; 663 int sock; 664 665 nconf = NULL; 666 localhandle = setnetconfig(); --- 646 unchanged lines hidden --- |