taglinefilesource code
fw32include/linux/firewall.hextern int register_firewall(int pf, struct firewall_ops *fw);
fw33include/linux/firewall.hextern int unregister_firewall(int pf, struct firewall_ops *fw);
fw20net/core/firewall.cint register_firewall(int pf, struct firewall_ops *fw)
fw39net/core/firewall.cif(fw->fw_priority > (*p)->fw_priority)
fw44net/core/firewall.cfw->next=*p;
fw50net/core/firewall.cxchg(p,fw);
fw64net/core/firewall.cint unregister_firewall(int pf, struct firewall_ops *fw)
fw83net/core/firewall.cif(*nl==fw)
fw85net/core/firewall.cstruct firewall_ops *f=fw->next;
fw98net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
fw100net/core/firewall.cwhile(fw!=NULL)
fw102net/core/firewall.cint rc=fw->fw_forward(fw,pf,skb,phdr);
fw105net/core/firewall.cfw=fw->next;
fw116net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
fw118net/core/firewall.cwhile(fw!=NULL)
fw120net/core/firewall.cint rc=fw->fw_input(fw,pf,skb,phdr);
fw123net/core/firewall.cfw=fw->next;
fw130net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
fw132net/core/firewall.cwhile(fw!=NULL)
fw134net/core/firewall.cint rc=fw->fw_output(fw,pf,skb,phdr);
fw137net/core/firewall.cfw=fw->next;