• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/

Lines Matching defs:gc

61   struct gc_arena gc = gc_new ();
67 print_in_addr_t (rb->bypass[i], 0, &gc));
69 gc_free (&gc);
168 route_string (const struct route *r, struct gc_arena *gc)
170 struct buffer out = alloc_buf_gc (256, gc);
172 print_in_addr_t (r->network, 0, gc),
173 print_in_addr_t (r->netmask, 0, gc),
174 print_in_addr_t (r->gateway, 0, gc)
194 struct gc_arena gc = gc_new ();
195 struct buffer name = alloc_buf_gc (256, &gc);
200 setenv_str (es, BSTR (&name), print_in_addr_t (addr, 0, &gc));
201 gc_free (&gc);
574 struct gc_arena gc = gc_new ();
683 gc_free (&gc);
694 struct gc_arena gc = gc_new ();
749 gc_free (&gc);
1128 struct gc_arena gc = gc_new ();
1131 struct buffer out = alloc_buf_gc (256, &gc);
1136 buf_printf (&out, " %s", print_in_addr_t (rgi->gateway.addr, 0, &gc));
1138 buf_printf (&out, "/%s", print_in_addr_t (rgi->gateway.netmask, 0, &gc));
1147 buf_printf (&out, " HWADDR=%s", format_hex_ex (rgi->hwaddr, 6, 0, 1, ":", &gc));
1150 gc_free (&gc);
1158 struct gc_arena gc = gc_new ();
1160 msg (level, "%s", route_string (r, &gc));
1161 gc_free (&gc);
1175 struct gc_arena gc = gc_new ();
1184 struct buffer name = alloc_buf_gc (256, &gc);
1189 gc_free (&gc);
1203 struct gc_arena gc = gc_new ();
1206 struct buffer name1 = alloc_buf_gc( 256, &gc );
1207 struct buffer val = alloc_buf_gc( 256, &gc );
1208 struct buffer name2 = alloc_buf_gc( 256, &gc );
1211 buf_printf( &val, "%s/%d", print_in6_addr( r6->network, 0, &gc ),
1216 setenv_str( es, BSTR(&name2), print_in6_addr( r6->gateway, 0, &gc ));
1218 gc_free (&gc);
1296 struct gc_arena gc;
1307 gc_init (&gc);
1310 network = print_in_addr_t (r->network, 0, &gc);
1311 netmask = print_in_addr_t (r->netmask, 0, &gc);
1312 gateway = print_in_addr_t (r->gateway, 0, &gc);
1518 gc_free (&gc);
1524 struct gc_arena * gc)
1541 return print_in6_addr( network_copy, 0, gc);
1547 struct gc_arena gc;
1560 gc_init (&gc);
1563 network = print_in6_addr_netbits_only( r6->network, r6->netbits, &gc);
1564 gateway = print_in6_addr( r6->gateway, 0, &gc);
1726 gc_free (&gc);
1736 struct gc_arena gc;
1746 gc_init (&gc);
1749 network = print_in_addr_t (r->network, 0, &gc);
1750 netmask = print_in_addr_t (r->netmask, 0, &gc);
1751 gateway = print_in_addr_t (r->gateway, 0, &gc);
1886 gc_free (&gc);
1892 struct gc_arena gc;
1902 gc_init (&gc);
1905 network = print_in6_addr_netbits_only( r6->network, r6->netbits, &gc);
1906 gateway = print_in6_addr( r6->gateway, 0, &gc);
2048 gc_free (&gc);
2059 get_windows_routing_table (struct gc_arena *gc)
2068 rt = (PMIB_IPFORWARDTABLE) gc_malloc (size, false, gc);
2073 strerror_win32 (status, gc),
2119 struct gc_arena gc = gc_new ();
2120 const IP_ADAPTER_INFO *adapters = get_adapter_info_list (&gc);
2151 gc_free (&gc);
2158 struct gc_arena gc = gc_new ();
2176 print_in_addr_t ((in_addr_t) net, 0, &gc),
2177 print_in_addr_t ((in_addr_t) mask, 0, &gc),
2192 gc_free (&gc);
2199 struct gc_arena gc = gc_new ();
2201 const IP_ADAPTER_INFO *adapters = get_adapter_info_list (&gc);
2202 const MIB_IPFORWARDTABLE *routes = get_windows_routing_table (&gc);
2230 gc_free (&gc);
2236 struct gc_arena gc = gc_new ();
2239 const IP_ADAPTER_INFO *adapters = get_adapter_info_list (&gc);
2258 print_in_addr_t (r->gateway, 0, &gc));
2264 print_in_addr_t (r->gateway, 0, &gc),
2274 gc_free (&gc);
2281 struct gc_arena gc = gc_new ();
2307 print_in_addr_t (r->network, 0, &gc),
2308 print_in_addr_t (r->netmask, 0, &gc));
2342 strerror_win32 (status, &gc),
2348 gc_free (&gc);
2355 struct gc_arena gc = gc_new ();
2377 strerror_win32 (status, &gc));
2380 gc_free (&gc);
2385 format_route_entry (const MIB_IPFORWARDROW *r, struct gc_arena *gc)
2387 struct buffer out = alloc_buf_gc (256, gc);
2389 print_in_addr_t (r->dwForwardDest, IA_NET_ORDER, gc),
2390 print_in_addr_t (r->dwForwardMask, IA_NET_ORDER, gc),
2391 print_in_addr_t (r->dwForwardNextHop, IA_NET_ORDER, gc),
2412 struct gc_arena gc = gc_new ();
2415 const MIB_IPFORWARDTABLE *rt = get_windows_routing_table (&gc);
2422 msg (msglev, "%s", format_route_entry (&rt->table[i], &gc));
2425 gc_free (&gc);
2433 struct gc_arena gc = gc_new ();
2591 gc_free (&gc);
2661 struct gc_arena gc = gc_new ();
2708 gc_free (&gc);
2733 gc_free (&gc);
2743 gc_free (&gc);
2747 gc_free (&gc);
2779 struct gc_arena gc = gc_new ();
2914 buffer = (char *) gc_malloc (bufsize, true, &gc);
2955 gc_free (&gc);
3026 struct gc_arena gc = gc_new ();
3074 gc_free (&gc);
3099 gc_free (&gc);
3109 gc_free (&gc);
3113 gc_free (&gc);
3208 struct gc_arena gc = gc_new ();
3212 const MIB_IPFORWARDTABLE *routes = get_windows_routing_table (&gc);
3220 const IP_ADAPTER_INFO *dgi = get_adapter_info (row->dwForwardIfIndex, &gc);
3223 const IP_PER_ADAPTER_INFO *pai = get_per_adapter_info (row->dwForwardIfIndex, &gc);
3234 gc_free (&gc);
3260 struct gc_arena gc = gc_new ();
3265 const MIB_IPFORWARDTABLE *rt = get_windows_routing_table (&gc);
3282 gc_free (&gc);