Home
last modified time | relevance | path

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

123

/titanic_51/usr/src/uts/common/inet/ipf/
H A Dip_auth.c133 int fr_authinit(ifs) in fr_authinit() argument
134 ipf_stack_t *ifs; in fr_authinit()
136 KMALLOCS(ifs->ifs_fr_auth, frauth_t *,
137 ifs->ifs_fr_authsize * sizeof(*ifs->ifs_fr_auth));
138 if (ifs->ifs_fr_auth != NULL)
139 bzero((char *)ifs->ifs_fr_auth,
140 ifs->ifs_fr_authsize * sizeof(*ifs->ifs_fr_auth));
144 KMALLOCS(ifs
182 ipf_stack_t *ifs = fin->fin_ifs; global() local
289 ipf_stack_t *ifs = fin->fin_ifs; global() local
355 fr_auth_ioctl(data,cmd,mode,uid,ctx,ifs) fr_auth_ioctl() argument
645 fr_authunload(ifs) fr_authunload() argument
705 fr_authexpire(ifs) fr_authexpire() argument
756 fr_preauthcmd(cmd,fr,frptr,ifs) fr_preauthcmd() argument
822 fr_authflush(ifs) fr_authflush() argument
860 fr_authgeniter(token,itp,ifs) fr_authgeniter() argument
[all...]
H A Dip_frag.c122 int fr_fraginit(ifs) in fr_fraginit() argument
123 ipf_stack_t *ifs; in fr_fraginit()
125 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;
132 KMALLOCS(ifs->ifs_ipfr_heads, ipfr_t **,
133 ifs
173 fr_fragunload(ifs) fr_fragunload() argument
210 fr_fragstats(ifs) fr_fragstats() argument
306 ipf_stack_t *ifs = fin->fin_ifs; global() local
394 ipf_stack_t *ifs = fin->fin_ifs; global() local
429 ipf_stack_t *ifs = fin->fin_ifs; global() local
463 ipf_stack_t *ifs = fin->fin_ifs; global() local
498 ipf_stack_t *ifs = fin->fin_ifs; global() local
600 ipf_stack_t *ifs = fin->fin_ifs; global() local
635 ipf_stack_t *ifs = fin->fin_ifs; global() local
669 ipf_stack_t *ifs = fin->fin_ifs; global() local
705 fr_forget(ptr,ifs) fr_forget() argument
727 fr_forgetnat(ptr,ifs) fr_forgetnat() argument
752 fr_fragdelete(fra,tail,ifs) fr_fragdelete() argument
785 fr_fragclear(ifs) fr_fragclear() argument
823 fr_fragexpire(ifs) fr_fragexpire() argument
905 ipf_stack_t *ifs = arg; fr_slowtimer() local
944 fr_nextfrag(token,itp,top,tail,lock,ifs) fr_nextfrag() argument
1001 fr_fragderef(frp,lock,ifs) fr_fragderef() argument
[all...]
H A Dsolaris.c269 ipf_kstat_init(ipf_stack_t *ifs, boolean_t from_gz) in ipf_kstat_init() argument
271 ifs->ifs_kstatp[0] = net_kstat_create(ifs->ifs_netid, in ipf_kstat_init()
275 if (ifs->ifs_kstatp[0] != NULL) { in ipf_kstat_init()
276 bcopy(&ipf_kstat_tmp, ifs->ifs_kstatp[0]->ks_data, in ipf_kstat_init()
278 ifs->ifs_kstatp[0]->ks_update = ipf_kstat_update; in ipf_kstat_init()
279 ifs->ifs_kstatp[0]->ks_private = &ifs->ifs_frstats[0]; in ipf_kstat_init()
280 kstat_install(ifs->ifs_kstatp[0]); in ipf_kstat_init()
283 ifs in ipf_kstat_init()
303 ipf_kstat_fini(ipf_stack_t * ifs) ipf_kstat_fini() argument
422 ipf_stack_t *ifs; ipf_stack_create_one() local
485 ipf_stack_t *ifs = NULL; ipf_stack_create() local
515 ipf_stack_t *ifs; ipf_find_stack() local
560 ipf_detach_check_zone(ipf_stack_t * ifs) ipf_detach_check_zone() argument
591 ipf_stack_t *ifs; ipf_detach_check_all() local
610 ipf_stack_t *ifs = (ipf_stack_t *)arg; ipf_stack_shutdown() local
630 ipf_stack_destroy_one(const netid_t id,ipf_stack_t * ifs) ipf_stack_destroy_one() argument
686 ipf_stack_t *ifs = (ipf_stack_t *)arg; ipf_stack_destroy() local
876 ipf_property_update(dip,ifs) ipf_property_update() argument
[all...]
H A Dip_lookup.c89 int ip_lookup_init(ifs) in ip_lookup_init() argument
90 ipf_stack_t *ifs; in ip_lookup_init()
93 if (ip_pool_init(ifs) == -1)
96 RWLOCK_INIT(&ifs->ifs_ip_poolrw, "ip pool rwlock");
98 ifs->ifs_ip_lookup_inited = 1;
99 ifs->ifs_ipftokenhead = NULL;
100 ifs->ifs_ipftokentail = &ifs->ifs_ipftokenhead;
114 void ip_lookup_unload(ifs) in ip_lookup_unload() argument
115 ipf_stack_t *ifs; in ip_lookup_unload()
139 ip_lookup_ioctl(data,cmd,mode,uid,ctx,ifs) ip_lookup_ioctl() argument
216 iplookup_addnode(data,ifs) iplookup_addnode() argument
289 iplookup_delnode(data,ifs) iplookup_delnode() argument
356 iplookup_addtable(data,ifs) iplookup_addtable() argument
401 iplookup_deltable(data,ifs) iplookup_deltable() argument
446 iplookup_stats(data,ifs) iplookup_stats() argument
483 iplookup_flush(data,ifs) iplookup_flush() argument
523 ip_lookup_deref(type,ptr,ifs) ip_lookup_deref() argument
546 ip_lookup_iterate(data,uid,ctx,ifs) ip_lookup_iterate() argument
605 ip_lookup_iterderef(type,data,ifs) ip_lookup_iterderef() argument
634 ip_lookup_ioctl(data,cmd,mode,uid,ifs) ip_lookup_ioctl() argument
[all...]
H A Dip_log.c168 int fr_loginit(ifs) in fr_loginit() argument
169 ipf_stack_t *ifs; in fr_loginit()
174 ifs->ifs_iplt[i] = NULL;
175 ifs->ifs_ipll[i] = NULL;
176 ifs->ifs_iplh[i] = &ifs->ifs_iplt[i];
177 ifs->ifs_iplused[i] = 0;
178 bzero((char *)&ifs->ifs_iplcrc[i], sizeof(ifs->ifs_iplcrc[i]));
189 cv_init(&ifs
206 fr_logunload(ifs) fr_logunload() argument
259 ipf_stack_t *ifs = fin->fin_ifs; global() local
425 ipllog(dev,fin,items,itemsz,types,cnt,ifs) ipllog() argument
551 ipflog_read(unit,uio,ifs) ipflog_read() argument
678 ipflog_clear(unit,ifs) ipflog_clear() argument
[all...]
H A Dip_fil_solaris.c166 int ipldetach(ifs) in ipldetach() argument
167 ipf_stack_t *ifs; in ipldetach()
170 ASSERT(RW_WRITE_HELD(&ifs->ifs_ipf_global.ipf_lk));
174 if (ifs->ifs_fr_control_forwarding & 2) {
190 RWLOCK_EXIT(&ifs->ifs_ipf_global);
194 if (ifs->_f != NULL) { \
195 if (ifs->_b) { \
196 int tmp = net_hook_unregister(ifs->_f, \
197 _e, ifs->_h); \
198 ifs
285 iplattach(ifs) iplattach() argument
510 fr_setipfloopback(set,ifs) fr_setipfloopback() argument
595 ipf_stack_t *ifs; global() local
878 fr_enableipf(ifs,enable) fr_enableipf() argument
911 get_unit(name,v,ifs) get_unit() argument
1003 ipf_stack_t *ifs; global() local
1056 ipf_stack_t *ifs; global() local
1203 ipf_stack_t *ifs = fin->fin_ifs; global() local
1290 ipf_stack_t *ifs = fin->fin_ifs; global() local
1362 ipf_stack_t *ifs = fin->fin_ifs; global() local
1392 ipf_stack_t *ifs = fin->fin_ifs; global() local
1436 fr_ifpaddr(v,atype,ifptr,inp,inpmask,ifs) fr_ifpaddr() argument
1520 ipf_stack_t *ifs = fin->fin_ifs; global() local
1565 ipf_stack_t *ifs = fin->fin_ifs; global() local
1614 ipf_stack_t *ifs = arg; fr_slowtimer() local
1664 ipf_stack_t *ifs = fin->fin_ifs; global() local
1768 ipf_stack_t *ifs = fin->fin_ifs; global() local
1847 ipf_stack_t *ifs = fin->fin_ifs; global() local
2088 ipf_stack_t *ifs; ipf_hook() local
2187 ipf_stack_t *ifs = arg; ipf_nic_event_v4() local
2281 ipf_stack_t *ifs = arg; ipf_nic_event_v6() local
[all...]
H A Dip_pool.c122 RWLOCK_INIT(&ifs->ifs_ip_poolrw, "poolrw");
123 ip_pool_init(ifs);
131 if (ip_pool_create(&op, ifs) == 0)
132 ipo = ip_pool_find(0, "0", ifs);
136 ip_pool_insert(ipo, &a, &b, 1, ifs);
137 ip_pool_insert(ipo, &a, &b, 1, ifs);
141 ip_pool_insert(ipo, &a, &b, 0, ifs);
142 ip_pool_insert(ipo, &a, &b, 0, ifs);
146 ip_pool_insert(ipo, &a, &b, 1, ifs);
147 ip_pool_insert(ipo, &a, &b, 1, ifs);
234 ip_pool_init(ifs) ip_pool_init() argument
256 ip_pool_fini(ifs) ip_pool_fini() argument
289 ip_pool_statistics(op,ifs) ip_pool_statistics() argument
327 ip_pool_find(unit,name,ifs) ip_pool_find() argument
375 ip_pool_search(tptr,version,dptr,fin,ifs) ip_pool_search() argument
438 ip_pool_insert(ipo,addr,mask,info,ifs) ip_pool_insert() argument
500 ip_pool_create(op,ifs) ip_pool_create() argument
578 ip_pool_remove(ipo,ipe,ifs) ip_pool_remove() argument
622 ip_pool_destroy(op,ifs) ip_pool_destroy() argument
653 ip_pool_flush(fp,ifs) ip_pool_flush() argument
696 ip_pool_free(ipo,ifs) ip_pool_free() argument
735 ip_pool_deref(ipo,ifs) ip_pool_deref() argument
749 ip_pool_node_deref(ipn,ifs) ip_pool_node_deref() argument
763 ip_pool_getnext(token,ilp,ifs) ip_pool_getnext() argument
885 ip_pool_iterderef(otype,unit,data,ifs) ip_pool_iterderef() argument
920 rn_freenode(struct radix_node * n,void * p,ipf_stack_t * ifs) rn_freenode() argument
[all...]
H A Dip_state.c142 #define DOUBLE_HASH(x, ifs) \ argument
143 (((x) + ifs->ifs_ips_seed[(x) % ifs->ifs_fr_statesize]) % ifs->ifs_fr_statesize)
149 /* Parameters: ifs - ipf stack instance */
154 int fr_stateinit(ifs) in fr_stateinit() argument
155 ipf_stack_t *ifs; in fr_stateinit()
162 KMALLOCS(ifs->ifs_ips_table, ipstate_t **,
163 ifs->ifs_fr_statesize * sizeof(ipstate_t *));
164 if (ifs
281 fr_stateunload(ifs) fr_stateunload() argument
354 fr_statetstats(ifs) fr_statetstats() argument
375 fr_state_remove(data,ifs) fr_state_remove() argument
417 fr_state_ioctl(data,cmd,mode,uid,ctx,ifs) fr_state_ioctl() argument
610 fr_stgetent(data,ifs) fr_stgetent() argument
666 fr_stputent(data,ifs) fr_stputent() argument
803 fr_stinsert(is,rev,ifs) fr_stinsert() argument
1126 ipf_stack_t *ifs = fin->fin_ifs; global() local
1652 ipf_stack_t *ifs = fin->fin_ifs; global() local
2018 ipf_stack_t *ifs = fin->fin_ifs; global() local
2113 ipf_stack_t *ifs = fin->fin_ifs; global() local
2380 ipf_stack_t *ifs = fin->fin_ifs; global() local
2615 fr_ipsmove(is,hv,ifs) fr_ipsmove() argument
2679 ipf_stack_t *ifs = fin->fin_ifs; global() local
2939 ipf_stack_t *ifs = fin->fin_ifs; global() local
2997 ipf_stack_t *ifs = fin->fin_ifs; global() local
3187 fr_statesync(action,v,ifp,name,ifs) fr_statesync() argument
3266 fr_stateifindexsync(ifp,newifp,ifs) fr_stateifindexsync() argument
3300 fr_delstate(is,why,ifs) fr_delstate() argument
3424 fr_timeoutstate(ifs) fr_timeoutstate() argument
3492 fr_state_flush(flush_option,proto,ifs) fr_state_flush() argument
3592 ipf_stack_t *ifs = fin->fin_ifs; global() local
3945 ipstate_log(is,type,ifs) ipstate_log() argument
4033 ipf_stack_t *ifs = fin->fin_ifs; global() local
4195 fr_sttab_init(tqp,ifs) fr_sttab_init() argument
4256 fr_statederef(isp,ifs) fr_statederef() argument
4295 fr_setstatequeue(is,rev,ifs) fr_setstatequeue() argument
4364 fr_stateiter(token,itp,ifs) fr_stateiter() argument
[all...]
H A Dip_nat.c179 int fr_natinit(ifs) in fr_natinit() argument
180 ipf_stack_t *ifs; in fr_natinit()
184 KMALLOCS(ifs->ifs_nat_table[0], nat_t **,
185 sizeof(nat_t *) * ifs->ifs_ipf_nattable_sz);
186 if (ifs->ifs_nat_table[0] != NULL)
187 bzero((char *)ifs->ifs_nat_table[0],
188 ifs->ifs_ipf_nattable_sz * sizeof(nat_t *));
192 KMALLOCS(ifs->ifs_nat_table[1], nat_t **,
193 sizeof(nat_t *) * ifs->ifs_ipf_nattable_sz);
194 if (ifs
309 nat_addrdr(n,ifs) nat_addrdr() argument
342 nat_addnat(n,ifs) nat_addnat() argument
412 nat_hostmap(np,src,dst,map,port,ifs) nat_hostmap() argument
600 fr_nat_ioctl(data,cmd,mode,uid,ctx,ifs) fr_nat_ioctl() argument
916 nat_siocaddnat(n,np,getlock,ifs) nat_siocaddnat() argument
1090 nat_resolverule(n,ifs) nat_resolverule() argument
1126 nat_siocdelnat(n,np,getlock,ifs) nat_siocdelnat() argument
1189 fr_natgetsz(data,ifs) fr_natgetsz() argument
1258 fr_natgetent(data,ifs) fr_natgetent() argument
1563 fr_natputent(data,getlock,ifs) fr_natputent() argument
1903 nat_delete(nat,logtype,ifs) nat_delete() argument
2041 nat_clearlist(ifs) nat_clearlist() argument
2103 ipf_stack_t *ifs = fin->fin_ifs; global() local
2351 ipf_stack_t *ifs = fin->fin_ifs; global() local
2532 ipf_stack_t *ifs = fin->fin_ifs; global() local
2704 ipf_stack_t *ifs = fin->fin_ifs; global() local
2759 nat_insert(nat,rev,ifs) nat_insert() argument
3277 ipf_stack_t *ifs = fin->fin_ifs; global() local
3443 nat_tabmove(nat,ifs) nat_tabmove() argument
3531 ipf_stack_t *ifs = fin->fin_ifs; global() local
3685 nat_lookupredir(np,ifs) nat_lookupredir() argument
3821 ipf_stack_t *ifs = fin->fin_ifs; global() local
3882 ipf_stack_t *ifs = fin->fin_ifs; global() local
4059 ipf_stack_t *ifs = fin->fin_ifs; global() local
4206 ipf_stack_t *ifs = fin->fin_ifs; global() local
4386 ipf_stack_t *ifs = fin->fin_ifs; global() local
4593 fr_natunload(ifs) fr_natunload() argument
4679 fr_natexpire(ifs) fr_natexpire() argument
4739 fr_nataddrsync(v,ifp,addr,ifs) fr_nataddrsync() argument
4863 fr_natifpsync(action,v,ifp,name,ifs) fr_natifpsync() argument
4981 fr_natifindexsync(ifp,newifp,ifs) fr_natifindexsync() argument
5061 nat_log(nat,type,ifs) nat_log() argument
5118 nat_ifdetach(ifp,ifs) nat_ifdetach() argument
5135 fr_ipnatderef(inp,ifs) fr_ipnatderef() argument
5176 fr_natderef(natp,ifs) fr_natderef() argument
5216 ipf_stack_t *ifs = fin->fin_ifs; global() local
5432 fr_setnatqueue(nat,rev,ifs) fr_setnatqueue() argument
5485 nat_getnext(t,itp,ifs) nat_getnext() argument
5696 nat_iterator(token,itp,ifs) nat_iterator() argument
5749 nat_flushtable(flush_option,ifs) nat_flushtable() argument
5824 ipf_stack_t *ifs = fin->fin_ifs; global() local
[all...]
H A Dfil.c947 ipf_stack_t *ifs = fin->fin_ifs; local
998 if (icmp->icmp_nextmtu < ifs->ifs_fr_icmpminfragmtu)
1680 ipf_stack_t *ifs = fin->fin_ifs; local
1719 i = (*fr->fr_srcfunc)(fr->fr_srcptr, fi->fi_v, lip, fin, ifs);
1762 i = (*fr->fr_dstfunc)(fr->fr_dstptr, fi->fi_v, lip, fin, ifs);
1868 ipf_stack_t *ifs = fin->fin_ifs; local
2018 IPF_BUMP(ifs->ifs_frstats[fin->fin_out].fr_skip);
2020 IPF_BUMP(ifs->ifs_frstats[fin->fin_out].fr_pkl);
2060 IPF_BUMP(ifs->ifs_frstats[out].fr_ads);
2062 IPF_BUMP(ifs
2096 ipf_stack_t *ifs = fin->fin_ifs; global() local
2145 ipf_stack_t *ifs = fin->fin_ifs; global() local
2317 fr_check(ip,hlen,ifp,out,qif,mp,ifs) fr_check() argument
2849 ipf_stack_t *ifs = fin->fin_ifs; global() local
3323 fr_findgroup(group,unit,set,fgpp,ifs) fr_findgroup() argument
3364 fr_addgroup(group,head,flags,unit,set,ifs) fr_addgroup() argument
3418 fr_delgroup(group,unit,set,ifs) fr_delgroup() argument
3449 fr_getrulen(unit,group,n,ifs) fr_getrulen() argument
3477 fr_rulen(unit,fr,ifs) fr_rulen() argument
3519 frflushlist(set,unit,nfreedp,listp,ifs) frflushlist() argument
3564 frflush(unit,proto,flags,ifs) frflush() argument
3790 fr_ifsync(action,v,newname,oldname,newifp,oldifp,ifs) fr_ifsync() argument
3841 frsynclist(action,v,ifp,ifname,fr,ifs) frsynclist() argument
3935 frsync(action,v,ifp,name,ifs) frsync() argument
4024 fr_ifindexsync(ifp,newifp,ifs) fr_ifindexsync() argument
4160 fr_getstat(fiop,ifs) fr_getstat() argument
4314 fr_resolvelookup(type,number,funcptr,ifs) fr_resolvelookup() argument
4384 frrequest(unit,req,data,set,makecopy,ifs) frrequest() argument
4854 fr_funcinit(fr,ifs) fr_funcinit() argument
4999 fr_derefrule(frp,ifs) fr_derefrule() argument
5045 fr_grpmapinit(fr,ifs) fr_grpmapinit() argument
5083 ipf_stack_t *ifs = fin->fin_ifs; global() local
5112 ipf_stack_t *ifs = fin->fin_ifs; global() local
5153 fr_addtimeoutqueue(parent,seconds,ifs) fr_addtimeoutqueue() argument
5240 fr_freetimeoutqueue(ifq,ifs) fr_freetimeoutqueue() argument
5346 fr_queueback(tqe,ifs) fr_queueback() argument
5389 fr_queueappend(tqe,ifq,parent,ifs) fr_queueappend() argument
5421 fr_movequeue(tqe,oifq,nifq,ifs) fr_movequeue() argument
5603 fr_ioctlswitch(unit,data,cmd,mode,uid,ctx,ifs) fr_ioctlswitch() argument
5981 ipf_stack_t *ifs = fin->fin_ifs; global() local
6203 ipf_stack_t *ifs = fin->fin_ifs; global() local
6356 tune_lookup(ipf_stack_t * ifs,char * name) tune_lookup() argument
6387 ipftuneable_setdefs(ipf_stack_t * ifs) ipftuneable_setdefs() argument
6453 ipftuneable_alloc(ipf_stack_t * ifs) ipftuneable_alloc() argument
6530 ipftuneable_free(ipf_stack_t * ifs) ipftuneable_free() argument
6548 fr_findtunebycookie(cookie,next,ifs) fr_findtunebycookie() argument
6595 fr_findtunebyname(name,ifs) fr_findtunebyname() argument
6624 fr_addipftune(newtune,ifs) fr_addipftune() argument
6653 fr_delipftune(oldtune,ifs) fr_delipftune() argument
6683 fr_ipftune(cmd,data,ifs) fr_ipftune() argument
6842 fr_initialise(ifs) fr_initialise() argument
6904 fr_deinitialise(ifs) fr_deinitialise() argument
6944 fr_zerostats(data,ifs) fr_zerostats() argument
6977 fr_resolvedest(fdp,v,ifs) fr_resolvedest() argument
7015 fr_resolvenic(name,v,ifs) fr_resolvenic() argument
7046 ipf_expiretokens(ifs) ipf_expiretokens() argument
7074 ipf_deltoken(type,uid,ptr,ifs) ipf_deltoken() argument
7106 ipf_unlinktoken(token,ifs) ipf_unlinktoken() argument
7136 ipf_findtoken(type,uid,ptr,ifs) ipf_findtoken() argument
7197 ipf_freetoken(token,ifs) ipf_freetoken() argument
7262 ipf_getnextrule(t,ptr,ifs) ipf_getnextrule() argument
7412 ipf_frruleiter(data,uid,ctx,ifs) ipf_frruleiter() argument
7441 ipf_geniter(token,itp,ifs) ipf_geniter() argument
7477 ipf_genericiter(data,uid,ctx,ifs) ipf_genericiter() argument
7514 ipf_earlydrop(flushtype,ifq,idletime,ifs) ipf_earlydrop() argument
7572 ipf_flushclosing(flushtype,stateval,ipfqs,userqs,ifs) ipf_flushclosing() argument
7646 ipf_extraflush(flushtype,ipfqs,userqs,ifs) ipf_extraflush() argument
[all...]
H A Dip_htable.c69 void fr_htable_unload(ifs) in fr_htable_unload() argument
70 ipf_stack_t *ifs; in fr_htable_unload()
75 (void)fr_flushhtable(&fop, ifs);
79 int fr_gethtablestat(op, ifs) in fr_gethtablestat() argument
81 ipf_stack_t *ifs;
88 stats.iphs_tables = ifs->ifs_ipf_htables[op->iplo_unit];
89 stats.iphs_numtables = ifs->ifs_ipf_nhtables[op->iplo_unit];
90 stats.iphs_numnodes = ifs->ifs_ipf_nhtnodes[op->iplo_unit];
91 stats.iphs_nomem = ifs->ifs_ipht_nomem[op->iplo_unit];
101 int fr_newhtable(op, ifs) in fr_newhtable() argument
186 fr_removehtable(op,ifs) fr_removehtable() argument
211 fr_delhtable(iph,ifs) fr_delhtable() argument
236 fr_derefhtable(iph,ifs) fr_derefhtable() argument
256 fr_findhtable(unit,name,ifs) fr_findhtable() argument
270 fr_flushhtable(op,ifs) fr_flushhtable() argument
296 fr_addhtent(iph,ipeo,ifs) fr_addhtent() argument
386 fr_delhtent(iph,ipe,ifs) fr_delhtent() argument
421 fr_iphmfindgroup(tptr,version,aptr,ifs) fr_iphmfindgroup() argument
472 fr_iphmfindip(tptr,version,aptr,fin,ifs) fr_iphmfindip() argument
646 fr_htable_getnext(token,ilp,ifs) fr_htable_getnext() argument
766 fr_htable_iterderef(otype,unit,data,ifs) fr_htable_iterderef() argument
[all...]
H A Dip_nat6.c137 void nat6_addrdr(n, ifs) in nat6_addrdr() argument
139 ipf_stack_t *ifs;
148 ifs->ifs_rdr6_masks[k >> 5] |= 1 << (k & 31);
150 hv = NAT_HASH_FN6(&j, 0, ifs->ifs_ipf_rdrrules_sz);
151 np = ifs->ifs_rdr_rules + hv;
170 void nat6_addnat(n, ifs) in nat6_addnat() argument
172 ipf_stack_t *ifs;
181 ifs->ifs_nat6_masks[k >> 5] |= 1 << (k & 31);
183 hv = NAT_HASH_FN6(&j, 0, ifs->ifs_ipf_natrules_sz);
184 np = ifs
208 nat6_hostmap(np,src,dst,map,port,ifs) nat6_hostmap() argument
292 ipf_stack_t *ifs = fin->fin_ifs; global() local
559 ipf_stack_t *ifs = fin->fin_ifs; global() local
749 ipf_stack_t *ifs = fin->fin_ifs; global() local
917 ipf_stack_t *ifs = fin->fin_ifs; global() local
975 nat6_insert(nat,rev,ifs) nat6_insert() argument
1488 ipf_stack_t *ifs = fin->fin_ifs; global() local
1656 nat6_tabmove(nat,ifs) nat6_tabmove() argument
1742 ipf_stack_t *ifs = fin->fin_ifs; global() local
1897 nat6_lookupredir(np,ifs) nat6_lookupredir() argument
2041 ipf_stack_t *ifs = fin->fin_ifs; global() local
2212 ipf_stack_t *ifs = fin->fin_ifs; global() local
2323 ipf_stack_t *ifs = fin->fin_ifs; global() local
2494 ipf_stack_t *ifs = fin->fin_ifs; global() local
[all...]
H A Dip_proxy.c184 int appr_add(ap, ifs) in appr_add() argument
186 ipf_stack_t *ifs;
190 for (a = ifs->ifs_ap_proxies; a->apr_p; a++)
200 for (a = ifs->ifs_ap_proxylist; a->apr_p; a = a->apr_next)
209 ap->apr_next = ifs->ifs_ap_proxylist;
210 ifs->ifs_ap_proxylist = ap;
212 return (*ap->apr_init)(&ap->apr_private, ifs);
223 int appr_ctl(ctl, ifs) in appr_ctl() argument
225 ipf_stack_t *ifs;
230 a = appr_lookup(ctl->apc_p, ctl->apc_label, ifs);
256 appr_del(ap,ifs) appr_del() argument
301 appr_ioctl(data,cmd,mode,ifs) appr_ioctl() argument
409 ipf_stack_t *ifs = fin->fin_ifs; global() local
491 ipf_stack_t *ifs = fin->fin_ifs; global() local
659 appr_lookup(pr,name,ifs) appr_lookup() argument
695 aps_free(aps,ifs) aps_free() argument
870 appr_init(ifs) appr_init() argument
895 appr_unload(ifs) appr_unload() argument
[all...]
/titanic_51/usr/src/cmd/ipf/tools/
H A Dip_fil.c153 static int frzerostats __P((caddr_t, ipf_stack_t *ifs));
176 int iplattach(ifs) in iplattach() argument
177 ipf_stack_t *ifs; in iplattach()
179 ifs->ifs_fr_running = 1;
184 int ipldetach(ifs) in ipldetach() argument
185 ipf_stack_t *ifs; in ipldetach()
187 ifs->ifs_fr_running = -1;
192 static int frzerostats(data, ifs) in frzerostats() argument
194 ipf_stack_t *ifs;
199 fr_getstat(&fio, ifs);
221 ipf_stack_t *ifs; global() local
439 fr_forgetifp(ifp,ifs) fr_forgetifp() argument
486 fr_resolvedest(fdp,v,ifs) fr_resolvedest() argument
608 get_unit(name,v,ifs) get_unit() argument
811 frsync(command,version,nic,data,ifs) frsync() argument
928 ipf_stack_t *ifs = fin->fin_ifs; global() local
989 fr_ifpaddr(v,atype,ifptr,inp,inpmask,ifs) fr_ifpaddr() argument
[all...]
H A Dipftest.c28 void dumpnat __P((ipf_stack_t *ifs));
29 void dumpstate __P((ipf_stack_t *ifs));
30 void dumplookups __P((ipf_stack_t *ifs));
31 void dumpgroups __P((ipf_stack_t *ifs));
32 void drain_log __P((char *, ipf_stack_t *ifs));
78 ipf_stack_t *ifs; local
92 ifs = create_ifs();
95 ifs->ifs_fr_pass = FR_BLOCK|FR_NOMATCH;
97 ifs->ifs_fr_pass = (IPF_DEFAULT_PASS)|FR_NOMATCH;
99 ipftuneable_alloc(ifs);
630 dumpnat(ifs) dumpnat() argument
651 dumpstate(ifs) dumpstate() argument
663 dumplookups(ifs) dumplookups() argument
684 dumpgroups(ifs) dumpgroups() argument
725 drain_log(filename,ifs) drain_log() argument
809 ipf_stack_t *ifs; create_ifs() local
[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);
136 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) {
140 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) {
165 int changenatif(ifs, fname) in changenatif() argument
166 char *ifs, *fname; in changenatif()
174 s = strchr(ifs, ',');
179 olen = strlen(ifs);
224 char *dirname = NULL, *filename = NULL, *ifs = NULL; global() local
[all...]
/titanic_51/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()
123 ifs.int_flags |= RIP6_IFF_POINTOPOINT; in initifs()
125 ifs.int_flags |= RIP6_IFF_NORTEXCH; in initifs()
127 ifs.int_flags |= RIP6_IFF_PRIVATE; in initifs()
129 ifs.int_flags |= RIP6_IFF_UP; in initifs()
146 if (ifs.int_flags & RIP6_IFF_POINTOPOINT) { in initifs()
157 ifs.int_addr = in initifs()
165 ifs in initifs()
[all...]
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c1031 struct interface ifs, *ifp, *ifp1; in ifscan() local
1127 (void) memset(&ifs, 0, sizeof (ifs)); in ifscan()
1129 (void) strlcpy(ifs.int_name, lifrp->lifr_name, in ifscan()
1130 sizeof (ifs.int_name)); in ifscan()
1133 ifs.int_addr = ((struct sockaddr_in *)&lifrp->lifr_addr)-> in ifscan()
1140 ifs.int_name, rip_strerror(errno)); in ifscan()
1142 ifs.int_if_flags = 0; in ifscan()
1144 ifs.int_if_flags = lifrp->lifr_flags; in ifscan()
1147 if (IN_CLASSD(ntohl(ifs in ifscan()
[all...]
/titanic_51/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);
62 fr_freetimeoutqueue(ifsipsec->ipsecnattqe, ifs);
81 void ippr_ipsec_fini(private, ifs) in ippr_ipsec_fini() argument
83 ipf_stack_t *ifs;
89 fr_freetimeoutqueue(ifsipsec->ipsecnattqe, ifs);
124 ipf_stack_t *ifs = fin->fin_ifs; global() local
228 ipf_stack_t *ifs = fin->fin_ifs; global() local
346 ippr_ipsec_del(aps,private,ifs) ippr_ipsec_del() argument
[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;
145 void ippr_h323_del(aps, private, ifs) in ippr_h323_del() argument
148 ipf_stack_t *ifs;
165 NAT_LOCKHELD|FWRITE, 0, NULL, ifs) == -1) {
191 ipf_stack_t *ifs = fin->fin_ifs; local
230 RWLOCK_EXIT(&ifs->ifs_ipf_nat);
232 NAT_SYSSPACE|FWRITE, 0, NULL, ifs)
276 ipf_stack_t *ifs = fin->fin_ifs; global() 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);
232 fr_queueback(&pptp->pptp_state->is_sti, ifs);
233 RWLOCK_EXIT(&ifs->ifs_ipf_state);
235 RWLOCK_EXIT(&ifs
527 ippr_pptp_del(aps,private,ifs) ippr_pptp_del() argument
[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
[all...]
/titanic_51/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