| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
| ilbd_nat.c | 40 * We only allow one show nat/persist command running at any time. Note that 49 /* Maximum number of NAT/sticky entries to request from kernel. */ 69 * To show the kernel NAT table. 164 ilb_nat_entry_t *nat; local 166 nat = &kcmd->entries[i]; 168 nat_ret->nat_proto = nat->proto; 170 nat_ret->nat_in_local = nat->in_local; 171 nat_ret->nat_in_global = nat->in_global; 172 nat_ret->nat_out_local = nat->out_local; 173 nat_ret->nat_out_global = nat->out_global [all...] |
| /onnv/onnv-gate/usr/src/cmd/ipf/tools/ |
| ipnat.c | 231 * Read NAT statistic information in using a symbol table and memory file 286 * Display NAT statistics. 292 nat_t *np, nat; local 303 printf("no memory\t%lu\tbad nat\t%lu\n", 314 * Show list of NAT rules and NAT sessions ? 336 for (np = nsp->ns_instances; np; np = nat.nat_next) { 337 if (kmemcpy((char *)&nat, (long)np, sizeof(nat))) 339 printactivenat(&nat, opts, 0) 426 nat_t nat; local [all...] |
| ipfs.c | 157 * Change interface names in NAT information saved out to disk. 164 nat_t *nat; local 174 nat = &ipn.ipn_nat; 175 if (nlen >= sizeof(nat->nat_ifnames[0]) || 176 olen >= sizeof(nat->nat_ifnames[0])) 187 if (!strncmp(nat->nat_ifnames[0], ifs, olen + 1)) { 188 strcpy(nat->nat_ifnames[0], s); 191 if (!strncmp(nat->nat_ifnames[1], ifs, olen + 1)) { 192 strcpy(nat->nat_ifnames[1], s); 552 nat_t *nat; local [all...] |
| ipftest.c | 110 RWLOCK_INIT(&ifs->ifs_ipf_ipidfrag, "ipf IP NAT-Frag rwlock"); 361 fprintf(stderr, "iplioctl(NAT,%#x,%p) = %d\n", 507 fprintf(stderr, "iplioctl(NAT,%#x,%p) = %d\n", cmd, data, i); 633 * Display the built up NAT table rules and mapping entries. 639 nat_t *nat; local 645 for (nat = ifs->ifs_nat_instances; nat; nat = nat->nat_next) { 646 printactivenat(nat, opts, 0) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/inet/ipf/ |
| ip_frag.c | 418 /* nat(I) - pointer to NAT structure */ 420 /* Create a new NAT fragment cache entry based on the current packet and */ 421 /* the NAT structure for this "session". */ 423 int fr_nat_newfrag(fin, pass, nat) 426 nat_t *nat; 437 fra->ipfr_data = nat; 438 nat->nat_data = fra; 589 /* Returns: nat_t* - pointer to 'parent' NAT structure if frag table */ 593 /* Functional interface for NAT lookups of the NAT fragment cache * 598 nat_t *nat; local 789 nat_t *nat; local 827 nat_t *nat; local [all...] |
| ip_nat6.c | 131 /* Parameters: n(I) - pointer to NAT rule to add */ 134 /* loaded NAT rules. Updates the bitmask indicating which netmasks are in */ 164 /* Parameters: n(I) - pointer to NAT rule to add */ 166 /* Adds a NAT map rule to the hash table of rules and the list of loaded */ 167 /* NAT rules. Updates the bitmask indicating which netmasks are in use by */ 198 /* Parameters: np(I) - pointer to NAT rule */ 206 /* create a new entry if a non-NULL NAT rule pointer has been supplied. */ 271 /* nat(I) - pointer to NAT entry */ 273 /* to create new NAT entry. * 745 nat_t *nat, *natl; local 1085 nat_t *nat; local 1220 nat_t *nat; local 1483 nat_t *nat; local 1738 nat_t *nat; local 1902 nat_t *nat; local 2040 nat_t *nat; local 2321 nat_t *nat; local [all...] |
| ip_nat.c | 120 /* How the NAT is organised and works. */ 122 /* Inside (interface y) NAT Outside (interface x) */ 136 /* In the NAT table, internal source is recorded as "in" and externally */ 177 /* Initialise all of the NAT locks, tables and other structures. */ 257 MUTEX_INIT(&ifs->ifs_nat_udptq.ifq_lock, "nat ipftq udp tab"); 263 MUTEX_INIT(&ifs->ifs_nat_icmptq.ifq_lock, "nat icmp ipftq tab"); 269 MUTEX_INIT(&ifs->ifs_nat_iptq.ifq_lock, "nat ip ipftq tab"); 289 RWLOCK_INIT(&ifs->ifs_ipf_nat, "ipf IP NAT rwlock"); 290 RWLOCK_INIT(&ifs->ifs_ipf_natfrag, "ipf IP NAT-Frag rwlock"); 291 MUTEX_INIT(&ifs->ifs_ipf_nat_new, "ipf nat new mutex") 607 ipnat_t *nat, *nt, *n = NULL, **np = NULL; local 1194 nat_t *nat, *n; local 1265 nat_t *n, *nat; local 1570 nat_t *n, *nat; local 2528 nat_t *nat, *natl; local 2867 nat_t *nat; local 3001 nat_t *nat; local 3272 nat_t *nat; local 3527 nat_t *nat; local 3690 nat_t *nat; local 3881 nat_t *nat; local 4204 nat_t *nat; local 4746 nat_t *nat; local 4872 nat_t *nat; local 4986 nat_t *nat; local 5180 nat_t *nat; local 5492 nat_t *nat, *nextnat = NULL, zeronat; local 5738 nat_t *nat, *natn; local 5811 nat_t *nat; local [all...] |
| fil.c | 7506 nat_t *nat; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/comp/ |
| omitted.c | 805 char nat[MAX_PATH]; local 810 cygwin_conv_to_full_win32_path(path, nat); 811 if (!strncasecmp(nat + 1, ":\\temp\\", 7)) 813 drive = nat[0]; 814 path = (const char*)nat;
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ |
| ilb_probe.c | 66 #define MODE_NAT "NAT" 69 enum lb_mode { dsr, nat, half_nat }; enumerator in enum:lb_mode 85 * argv[4] is the load balance mode, "DSR", "NAT", "HALF-NAT" 222 param->mode = nat; 258 case nat:
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
| uDNS.c | 38 Check too strict -- we can still do wide-area registration (without NAT-PMP) 42 <rdar://problem/4290265> Add check to avoid crashing NAT gateways that have buggy DNS relay code 44 to avoid crashing NAT gateways that have a different DNS relay bug 47 <rdar://problem/4290265> Add check to avoid crashing NAT gateways that have buggy DNS relay code 73 Services should point to IPv6 address if IPv4 NAT mapping fails 92 <rdar://problem/4137283> NAT-PMP refresh Requested Public Port should contain actual mapped port 142 Changed successful NAT Traversals from LogMsg to LogOperation 166 <rdar://problem/3984374> NAT-PMP response callback should return a 263 <rdar://problem/3825979> Call DeregisterService on nat port map failure 266 <rdar://problem/3825979> NAT-PMP: Update response format to contain "Seconds Since Boot 1529 NATTraversalInfo *nat = m->uDNS_info.LLQNatInfo; local 1596 NATTraversalInfo *nat = srs->uDNS_info.NATinfo; local 2392 NATTraversalInfo *nat = srs->uDNS_info.NATinfo; local 4246 NATTraversalInfo *nat = srs->uDNS_info.NATinfo; local 4629 NATTraversalInfo *nat = srs->uDNS_info.NATinfo; local 5182 NATTraversalInfo *nat = info->NATinfo; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/inet/ipf/netinet/ |
| ip_nat.h | 32 #undef LARGE_NAT /* define this if you're setting up a system to NAT 37 * a setup with 1000-2000 networks to NAT. 87 typedef struct nat { struct 89 struct nat *nat_next; 90 struct nat **nat_pnext; 91 struct nat *nat_hnext[2]; 92 struct nat **nat_phnext[2]; 95 struct nat **nat_me; 120 u_char nat_p; /* protocol for NAT */ 175 struct ipnat *in_next; /* NAT rule list next * [all...] |