Home
last modified time | relevance | path

Searched refs:ifs (Results 1 – 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_auth.c137 ifs->ifs_fr_authsize * sizeof(*ifs->ifs_fr_auth));
184 if (ifs->ifs_fr_auth_lock || !ifs->ifs_fr_authused)
295 if (ifs->ifs_fr_authstart > ifs->ifs_fr_authend) {
300 if (ifs->ifs_fr_authused == ifs->ifs_fr_authsize) {
310 if (ifs->ifs_fr_authend == ifs->ifs_fr_authsize)
424 ifs->ifs_fr_authpkts[ifs->ifs_fr_authnext]) {
426 &ifs->ifs_fr_auth[ifs->ifs_fr_authnext],
433 m = ifs->ifs_fr_authpkts[ifs->ifs_fr_authnext];
741 ifs->ifs_ipauth = &ifs->ifs_fae_list->fae_fr;
785 ifs->ifs_ipauth = ifs->ifs_fae_list ?
[all …]
H A Dip_frag.c125 ifs->ifs_ipfr_tail = &ifs->ifs_ipfr_list;
126 ifs->ifs_ipfr_nattail = &ifs->ifs_ipfr_natlist;
127 ifs->ifs_ipfr_ipidtail = &ifs->ifs_ipfr_ipidlist;
213 ifs->ifs_ipfr_stats.ifs_table = ifs->ifs_ipfr_heads;
215 ifs->ifs_ipfr_stats.ifs_inuse = ifs->ifs_ipfr_inuse;
308 if (ifs->ifs_ipfr_inuse >= ifs->ifs_ipfr_size)
794 fr_fragdelete(fra, &ifs->ifs_ipfr_tail, ifs);
796 ifs->ifs_ipfr_tail = &ifs->ifs_ipfr_list;
808 fr_fragdelete(fra, &ifs->ifs_ipfr_nattail, ifs);
810 ifs->ifs_ipfr_nattail = &ifs->ifs_ipfr_natlist;
[all …]
H A Dsolaris.c271 ifs->ifs_kstatp[0] = net_kstat_create(ifs->ifs_netid, in ipf_kstat_init()
297 ifs, ifs->ifs_kstatp[0], ifs->ifs_kstatp[1]); in ipf_kstat_init()
430 bzero(ifs, sizeof (*ifs)); in ipf_stack_create_one()
548 for (ifs = ipf_stacks; ifs != NULL; ifs = ifs->ifs_next) { in ipf_find_stack()
575 if (ifs->ifs_ipfilter[0][ifs->ifs_fr_active] || in ipf_detach_check_zone()
576 ifs->ifs_ipfilter[1][ifs->ifs_fr_active] || in ipf_detach_check_zone()
577 ifs->ifs_ipfilter6[0][ifs->ifs_fr_active] || in ipf_detach_check_zone()
578 ifs->ifs_ipfilter6[1][ifs->ifs_fr_active]) { in ipf_detach_check_zone()
594 for (ifs = ipf_stacks; ifs != NULL; ifs = ifs->ifs_next) in ipf_detach_check_all()
654 ifs->ifs_next->ifs_pnext = ifs->ifs_pnext; in ipf_stack_destroy_one()
[all …]
H A Dip_lookup.c90 ipf_stack_t *ifs; in ip_lookup_init()
100 ifs->ifs_ipftokentail = &ifs->ifs_ipftokenhead;
115 ipf_stack_t *ifs; in ip_lookup_unload()
117 ip_pool_fini(ifs);
144 ipf_stack_t *ifs;
218 ipf_stack_t *ifs;
291 ipf_stack_t *ifs;
358 ipf_stack_t *ifs;
403 ipf_stack_t *ifs;
448 ipf_stack_t *ifs;
[all …]
H A Dip_log.c168 int fr_loginit(ifs) in fr_loginit() argument
169 ipf_stack_t *ifs; in fr_loginit()
176 ifs->ifs_iplh[i] = &ifs->ifs_iplt[i];
178 bzero((char *)&ifs->ifs_iplcrc[i], sizeof(ifs->ifs_iplcrc[i]));
207 ipf_stack_t *ifs; in fr_logunload()
431 ipf_stack_t *ifs;
554 ipf_stack_t *ifs;
641 ifs->ifs_iplh[unit] = &ifs->ifs_iplt[unit];
654 if (ifs->ifs_iplh[unit] == &ifs->ifs_iplt[unit]) {
680 ipf_stack_t *ifs;
[all …]
H A Dip_fil_solaris.c217 if (!ifs->_b && ifs->_h != NULL) { \
362 bzero((char *)ifs->ifs_frcache, sizeof(ifs->ifs_frcache));
379 HOOK_INIT(x, fn, ifs->ifs_gz_controlled ? gzn : n, ifs); \
397 HOOK_INIT(x, fn, ifs->ifs_gz_controlled ? gzn : n, ifs); \
701 ifs->ifs_ipf_viona = net_protocol_lookup(ifs->ifs_netid, in ipf_hook_instance_notify()
938 ifs->ifs_fr_active, 1, ifs);
947 1 - ifs->ifs_fr_active, 1, ifs);
962 ifs->ifs_fr_active = 1 - ifs->ifs_fr_active;
2417 ifs = arg; in ipf_hook()
2545 ifs); in ipf_nic_event_v4()
[all …]
H A Dip_state.c143 (((x) + ifs->ifs_ips_seed[(x) % ifs->ifs_fr_statesize]) % ifs->ifs_fr_statesize)
187 ifs->ifs_ips_seed[i] *= (u_long)ifs->ifs_ips_seed;
189 ifs->ifs_ips_seed[i] *= ifs->ifs_fr_statemax;
224 fr_sttab_init(ifs->ifs_ips_tqtqb, ifs);
268 ifs->ifs_ips_last_force_flush = ifs->ifs_fr_ticks;
357 ifs->ifs_ips_stats.iss_active = ifs->ifs_ips_num;
360 ifs->ifs_ips_stats.iss_table = ifs->ifs_ips_table;
361 ifs->ifs_ips_stats.iss_list = ifs->ifs_ips_list;
362 ifs->ifs_ips_stats.iss_ticks = ifs->ifs_fr_ticks;
691 if (ifs->ifs_ips_num >= ifs->ifs_fr_statemax) {
[all …]
H A Dip_pool.c123 ip_pool_init(ifs);
235 ipf_stack_t *ifs; in ip_pool_init()
257 ipf_stack_t *ifs; in ip_pool_fini()
291 ipf_stack_t *ifs;
330 ipf_stack_t *ifs;
380 ipf_stack_t *ifs;
442 ipf_stack_t *ifs;
502 ipf_stack_t *ifs;
581 ipf_stack_t *ifs;
624 ipf_stack_t *ifs;
[all …]
H A Dip_nat.c246 fr_sttab_init(ifs->ifs_nat_tqb, ifs);
253 ifs->ifs_nat_udptq.ifq_ttl = ifs->ifs_fr_defnatage;
258 ifs->ifs_nat_udptq.ifq_next = &ifs->ifs_nat_icmptq;
259 ifs->ifs_nat_icmptq.ifq_ttl = ifs->ifs_fr_defnaticmpage;
264 ifs->ifs_nat_icmptq.ifq_next = &ifs->ifs_nat_iptq;
265 ifs->ifs_nat_iptq.ifq_ttl = ifs->ifs_fr_defnatipage;
277 ifs->ifs_nat_tqb[i].ifq_ttl = ifs->ifs_fr_defnatage;
295 ifs->ifs_nat_last_force_flush = ifs->ifs_fr_ticks;
765 ifs->ifs_nat_stats.ns_list = ifs->ifs_nat_list;
766 ifs->ifs_nat_stats.ns_maptable = ifs->ifs_maptable;
[all …]
H A Dfil.c3587 &flushed, &ifs->ifs_ipacct[1][set], ifs);
3942 frsynclist(action, v, ifp, name, ifs->ifs_ipacct[0][ifs->ifs_fr_active], ifs);
3943 frsynclist(action, v, ifp, name, ifs->ifs_ipacct[1][ifs->ifs_fr_active], ifs);
3944 frsynclist(action, v, ifp, name, ifs->ifs_ipfilter[0][ifs->ifs_fr_active], ifs);
3945 frsynclist(action, v, ifp, name, ifs->ifs_ipfilter[1][ifs->ifs_fr_active], ifs);
3946 frsynclist(action, v, ifp, name, ifs->ifs_ipacct6[0][ifs->ifs_fr_active], ifs);
3947 frsynclist(action, v, ifp, name, ifs->ifs_ipacct6[1][ifs->ifs_fr_active], ifs);
3948 frsynclist(action, v, ifp, name, ifs->ifs_ipfilter6[0][ifs->ifs_fr_active], ifs);
3949 frsynclist(action, v, ifp, name, ifs->ifs_ipfilter6[1][ifs->ifs_fr_active], ifs);
5634 ifs->ifs_fr_active, 1, ifs);
[all …]
H A Dip_htable.c70 ipf_stack_t *ifs; in fr_htable_unload()
81 ipf_stack_t *ifs;
103 ipf_stack_t *ifs;
188 ipf_stack_t *ifs;
213 ipf_stack_t *ifs;
238 ipf_stack_t *ifs;
259 ipf_stack_t *ifs;
272 ipf_stack_t *ifs;
299 ipf_stack_t *ifs;
368 ifs->ifs_fr_active, ifs);
[all …]
H A Dip_nat6.c139 ipf_stack_t *ifs;
172 ipf_stack_t *ifs;
212 ipf_stack_t *ifs;
321 &in, 0, ifs);
755 if (NAT_TAB_WATER_LEVEL(ifs) > ifs->ifs_nat_flush_level_hi)
758 if (ifs->ifs_nat_stats.ns_inuse >= ifs->ifs_ipf_nattable_max) {
781 if (ifs->ifs_ipf_nattable_max > ifs->ifs_ipf_nattable_sz) {
978 ipf_stack_t *ifs;
1658 ipf_stack_t *ifs;
1899 ipf_stack_t *ifs;
[all …]
H A Dip_proxy.c184 int appr_add(ap, ifs) in appr_add() argument
186 ipf_stack_t *ifs;
225 ipf_stack_t *ifs;
256 int appr_del(ap, ifs) in appr_del() argument
258 ipf_stack_t *ifs;
305 ipf_stack_t *ifs;
662 ipf_stack_t *ifs;
697 ipf_stack_t *ifs;
870 int appr_init(ifs) in appr_init() argument
871 ipf_stack_t *ifs; in appr_init()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c177 ipf_stack_t *ifs; in iplattach()
185 ipf_stack_t *ifs; in ipldetach()
194 ipf_stack_t *ifs;
204 bzero((char *)ifs->ifs_frstats, sizeof(*ifs->ifs_frstats) * 2);
227 ifs = get_ifs();
255 ifs->ifs_fr_active, 1, ifs);
349 ifs->ifs_fr_active, 1, ifs);
358 1 - ifs->ifs_fr_active, 1, ifs);
365 ifs->ifs_fr_active = 1 - ifs->ifs_fr_active;
446 for (f = ifs->ifs_ipacct[0][ifs->ifs_fr_active]; (f != NULL);
[all …]
H A Dipftest.c78 ipf_stack_t *ifs; local
108 fr_loginit(ifs);
109 fr_authinit(ifs);
110 fr_fraginit(ifs);
112 fr_natinit(ifs);
113 appr_init(ifs);
307 dumpnat(ifs);
811 KMALLOCS(ifs, ipf_stack_t *, sizeof (*ifs)); in create_ifs()
812 bzero(ifs, sizeof (*ifs)); in create_ifs()
813 gifs = ifs; in create_ifs()
[all …]
H A Dipfs.c110 int changestateif(ifs, fname) in changestateif() argument
111 char *ifs, *fname; in changestateif()
118 s = strchr(ifs, ',');
123 olen = strlen(ifs);
165 int changenatif(ifs, fname) in changenatif() argument
166 char *ifs, *fname; in changenatif()
174 s = strchr(ifs, ',');
179 olen = strlen(ifs);
246 ifs = optarg;
307 if (ifs) {
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dstartup.c63 struct interface ifs; in initifs() local
106 bzero((char *)&ifs, sizeof (ifs)); in initifs()
157 ifs.int_addr = in initifs()
197 ifs.int_metric = 1; in initifs()
217 ifs.int_mtu = IPV6_MIN_MTU; in initifs()
219 ifs.int_mtu = lifr.lifr_mtu; in initifs()
245 &ifs.int_addr)) in initifs()
249 &ifs.int_dstaddr)) in initifs()
275 ifs.int_ifindex); in initifs()
280 ifp->int_mtu = ifs.int_mtu; in initifs()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c1127 (void) memset(&ifs, 0, sizeof (ifs)); in ifscan()
1315 ifs.int_dstaddr = ifs.int_addr; in ifscan()
1319 ifs.int_net = ntohl(ifs.int_dstaddr); in ifscan()
1328 ifs.int_ripv1_mask = ifs.int_mask; in ifscan()
1333 ifs.int_dstaddr = ifs.int_addr; in ifscan()
1334 ifs.int_ripv1_mask = ifs.int_mask; in ifscan()
1336 ifs.int_net = ntohl(ifs.int_addr) & ifs.int_mask; in ifscan()
1337 if (ifs.int_mask != ifs.int_std_mask) in ifscan()
1340 ifs.int_std_net = ifs.int_net & ifs.int_std_mask; in ifscan()
1341 ifs.int_std_addr = htonl(ifs.int_std_net); in ifscan()
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_ipsec_pxy.c36 int ippr_ipsec_init(private, ifs) in ippr_ipsec_init() argument
38 ipf_stack_t *ifs;
53 ifsipsec->ipsecnattqe = fr_addtimeoutqueue(&ifs->ifs_nat_utqe, ifsipsec->ipsec_proxy_ttl, ifs);
59 ifsipsec->ipsecstatetqe = fr_addtimeoutqueue(&ifs->ifs_ips_utqe, ifsipsec->ipsec_proxy_ttl, ifs);
81 void ippr_ipsec_fini(private, ifs) in ippr_ipsec_fini() argument
83 ipf_stack_t *ifs;
124 ipf_stack_t *ifs = fin->fin_ifs; local
157 ipn->in_tqehead[0] = fr_addtimeoutqueue(&ifs->ifs_nat_utqe, ttl, ifs);
158 ipn->in_tqehead[1] = fr_addtimeoutqueue(&ifs->ifs_nat_utqe, ttl, ifs);
228 ipf_stack_t *ifs = fin->fin_ifs; local
[all …]
H A Dip_h323_pxy.c91 int ippr_h323_init(private, ifs) in ippr_h323_init() argument
93 ipf_stack_t *ifs;
113 void ippr_h323_fini(private, ifs) in ippr_h323_fini() argument
115 ipf_stack_t *ifs;
148 ipf_stack_t *ifs;
191 ipf_stack_t *ifs = fin->fin_ifs; local
230 RWLOCK_EXIT(&ifs->ifs_ipf_nat);
233 READ_ENTER(&ifs->ifs_ipf_nat);
236 READ_ENTER(&ifs->ifs_ipf_nat);
276 ipf_stack_t *ifs = fin->fin_ifs; local
[all …]
H A Dip_pptp_pxy.c61 int ippr_pptp_init(private, ifs) in ippr_pptp_init() argument
63 ipf_stack_t *ifs;
86 void ippr_pptp_fini(private, ifs) in ippr_pptp_fini() argument
88 ipf_stack_t *ifs;
181 ipf_stack_t *ifs = fin->fin_ifs; local
219 fr_queueback(&nat2->nat_tqe, ifs);
230 READ_ENTER(&ifs->ifs_ipf_state);
233 RWLOCK_EXIT(&ifs->ifs_ipf_state);
235 RWLOCK_EXIT(&ifs->ifs_ipf_state);
530 ipf_stack_t *ifs;
[all …]
H A Dip_netbios_pxy.c55 int ippr_netbios_init(private, ifs) in ippr_netbios_init() argument
57 ipf_stack_t *ifs;
78 void ippr_netbios_fini(private, ifs) in ippr_netbios_fini() argument
80 ipf_stack_t *ifs;
H A Dip_rpcb_pxy.c112 ippr_rpcb_init(private, ifs) in ippr_rpcb_init() argument
114 ipf_stack_t *ifs;
144 ippr_rpcb_fini(private, ifs) in ippr_rpcb_fini() argument
146 ipf_stack_t *ifs;
202 ippr_rpcb_del(aps, private, ifs) in ippr_rpcb_del() argument
205 ipf_stack_t *ifs;
210 ifs = ifs; /* LINT */
1185 ipf_stack_t *ifs = fin->fin_ifs; local
1227 RWLOCK_EXIT(&ifs->ifs_ipf_state);
1229 RWLOCK_EXIT(&ifs->ifs_ipf_nat);
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dmamprobe.sh129 ifs=${IFS-'
133 IFS=$ifs
155 ifs=${IFS-'
159 IFS=$ifs
H A Dmkdir.sh48 then ifs=${IFS-'
52 IFS=$ifs

123