Lines Matching full:np
12 printpoolnode(ip_pool_node_t *np, int opts, wordtab_t *fields) argument
18 printpoolfield(np, IPLT_POOL, i);
25 if (np->ipn_info == 1)
27 printip(np->ipn_addr.adf_family,
28 (u_32_t *)&np->ipn_addr.adf_addr.in4);
29 printmask(np->ipn_addr.adf_family,
30 (u_32_t *)&np->ipn_mask.adf_addr);
33 if (np->ipn_addr.adf_family == AF_INET6) {
38 str = inet_ntop(AF_INET6, &np->ipn_addr.adf_addr.in6,
42 PRINTF("\tAddress: %s%s", np->ipn_info ? "! " : "",
44 } else if (np->ipn_addr.adf_family == AF_INET) {
46 if (np->ipn_addr.adf_family == AF_INET) {
48 PRINTF("\tAddress: %s%s", np->ipn_info ? "! " : "",
49 inet_ntoa(np->ipn_addr.adf_addr.in4));
52 np->ipn_addr.adf_family);
54 printmask(np->ipn_addr.adf_family,
55 (u_32_t *)&np->ipn_mask.adf_addr);
58 np->ipn_hits, np->ipn_bytes,
59 np->ipn_name, np->ipn_ref);
62 np->ipn_hits, np->ipn_bytes,
63 np->ipn_name, np->ipn_ref);
66 return (np->ipn_next);