netinfo
#define OVER_MAXPACKETSIZE (MAXPACKETSIZE+sizeof (struct netinfo)*2)
struct netinfo *n;
struct netinfo *base;
struct netinfo *lim;
struct netinfo *, uint16_t);
struct netinfo *n,
(len - 4) / sizeof (struct netinfo));
struct netinfo *n, *lim;
lim = n + (cc - 4) / sizeof (struct netinfo);
struct netinfo *n, *lim;
lim = n + (size - 4) / sizeof (struct netinfo);
struct netinfo *n, *lim;
lim = n + (size - 4) / sizeof (struct netinfo);
const struct netinfo *nip;
len -= sizeof (struct netinfo);
struct netinfo *net;
struct netinfo *next;
#define NULLNET (struct netinfo *)0
static struct netinfo zeronet = { NULL, NULL, NULL, NULL, NULL, NULL, NULL };
static struct netinfo *firstnet = NULLNET;
static struct netinfo *lastnet = NULLNET;
static struct netinfo *netsnip = NULLNET;
struct netinfo *net, *prevnet, *comp;
sizeof (struct netinfo), 0);
# include <netinfo/ni.h>
struct netinfo ru_nets[1]; /* variable length... */
/ sizeof (struct netinfo) +1)
netdfs_setinfo_100(dfs_path_t *path, netdfs_info100_t *netinfo)
char *cmnt = (char *)netinfo->comment;
netdfs_setinfo_101(dfs_path_t *path, netdfs_info101_t *netinfo,
info.i_state = netinfo->state;
target.t_state = netinfo->state;
netdfs_setinfo_102(dfs_path_t *path, netdfs_info102_t *netinfo)
info.i_timeout = netinfo->timeout;
netdfs_setinfo_103(dfs_path_t *path, netdfs_info103_t *netinfo)
netinfo->property_flags & netinfo->property_flag_mask;
netdfs_setinfo_104(dfs_path_t *path, netdfs_info104_t *netinfo,
if (netinfo->priority_class > DfsGlobalLowPriorityClass)
if (netinfo->priority_rank > DFS_PRIORITY_RANK_MAX)
target.t_priority.p_class = netinfo->priority_class;
target.t_priority.p_rank = netinfo->priority_rank;
netdfs_setinfo_105(dfs_path_t *path, netdfs_info105_t *netinfo)
char *cmnt = (char *)netinfo->comment;
info.i_state = netinfo->state;
info.i_timeout = netinfo->timeout;
info.i_propflag_mask = netinfo->property_flag_mask;
netinfo->property_flags & netinfo->property_flag_mask;