Searched refs:ipfd_dest (Results 1 - 8 of 8) sorted by relevance

/netbsd-current/external/bsd/ipf/dist/lib/
H A Dload_dstlistnode.c33 dst = calloc(1, sizeof(*dst) + node->ipfd_dest.fd_name);
42 if (node->ipfd_dest.fd_name >= 0)
43 op.iplo_size += node->ipfd_dest.fd_name;
46 dst->fd_addr = node->ipfd_dest.fd_addr;
47 dst->fd_type = node->ipfd_dest.fd_type;
48 dst->fd_name = node->ipfd_dest.fd_name;
49 if (node->ipfd_dest.fd_name >= 0)
51 node->ipfd_dest.fd_name);
H A Dprintdstlistnode.c44 if (np->ipfd_dest.fd_name >= 0)
46 if (np->ipfd_dest.fd_addr.adf_family == AF_INET) {
47 printip(AF_INET, (u_32_t *)&np->ipfd_dest.fd_ip);
50 str = inet_ntop(AF_INET6, &np->ipfd_dest.fd_ip6,
59 np->ipfd_dest.fd_name);
61 str = inet_ntop(np->ipfd_dest.fd_addr.adf_family,
62 &np->ipfd_dest.fd_ip6, buf, sizeof(buf) - 1);
67 PRINTF("\tAddress: %s\n", inet_ntoa(np->ipfd_dest.fd_ip));
H A Dprintpoolfield.c65 a = &node->ipfd_dest.fd_addr;
97 if (node->ipfd_dest.fd_name == -1) {
101 node->ipfd_dest.fd_name);
162 a = &node->ipfd_dest.fd_addr;
/netbsd-current/external/bsd/ipf/dist/
H A Dip_dstlist.h18 frdest_t ipfd_dest; member in struct:ipf_dstnode
H A Dip_dstlist.c542 bcopy(&dest, &node->ipfd_dest, sizeof(dest));
558 node->ipfd_dest.fd_name = 0;
560 node->ipfd_dest.fd_name = -1;
594 if (node->ipfd_dest.fd_name == 0)
596 &node->ipfd_dest, AF_INET);
598 if (node->ipfd_dest.fd_name == 0 &&
599 node->ipfd_dest.fd_ptr == (void *)-1)
601 &node->ipfd_dest, AF_INET6);
704 if (!bcmp(&node->ipfd_dest.fd_ip6, &frd.fd_ip6,
1227 if (sel->ipfd_dest
[all...]
/netbsd-current/sys/external/bsd/ipf/netinet/
H A Dip_dstlist.h18 frdest_t ipfd_dest; member in struct:ipf_dstnode
H A Dip_dstlist.c518 bcopy(&dest, &node->ipfd_dest, sizeof(dest));
534 node->ipfd_dest.fd_name = 0;
536 node->ipfd_dest.fd_name = -1;
570 if (node->ipfd_dest.fd_name == 0)
572 &node->ipfd_dest, AF_INET);
574 if (node->ipfd_dest.fd_name == 0 &&
575 node->ipfd_dest.fd_ptr == (void *)-1)
577 &node->ipfd_dest, AF_INET6);
675 if (!bcmp(&node->ipfd_dest.fd_ip6, &frd.fd_ip6,
1173 if (sel && sel->ipfd_dest
[all...]
/netbsd-current/external/bsd/ipf/dist/tools/
H A Dippool_y.y536 $$->ipfd_dest.fd_name = strlen($1) + 1;
538 $$->ipfd_dest.fd_name);
539 $$->ipfd_dest.fd_addr = $3;
546 $$->ipfd_dest.fd_name = -1;
547 $$->ipfd_dest.fd_addr = $1;

Completed in 201 milliseconds