taglinefilesource code
pf17include/linux/firewall.hint (*fw_forward)(struct firewall_ops *this, int pf, 
pf19include/linux/firewall.hint (*fw_input)(struct firewall_ops *this, int pf, 
pf21include/linux/firewall.hint (*fw_output)(struct firewall_ops *this, int pf, 
pf32include/linux/firewall.hextern int register_firewall(int pf, struct firewall_ops *fw);
pf33include/linux/firewall.hextern int unregister_firewall(int pf, struct firewall_ops *fw);
pf34include/linux/firewall.hextern int call_fw_firewall(int pf, struct sk_buff *skb, void *phdr);
pf35include/linux/firewall.hextern int call_in_firewall(int pf, struct sk_buff *skb, void *phdr);
pf36include/linux/firewall.hextern int call_out_firewall(int pf, struct sk_buff *skb, void *phdr);
pf6net/802/llc.cint llc_rx_adm(struct sock *sk,struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
pf11net/802/llc.csend_response(sk,DM|pf);
pf15net/802/llc.csend_response(sk. DM|pf);
pf21net/802/llc.csend_response(sk, UA|pf);
pf30net/802/llc.celse if(pf)
pf36net/802/llc.cint llc_rx_setup(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
pf44net/802/llc.csend_response(sk, UA|pf);
pf48net/802/llc.csend_response(sk, DM|pf);
pf55net/802/llc.cif(cmd==UA && pf==sk->llc.p_flag)
pf59net/802/llc.cllc_update_p_flag(sk,pf);
pf70net/802/llc.cint llc_rx_reset(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
pf78net/802/llc.csend_response(sk, UA|pf);
pf86net/802/llc.csend_response(sk, DM|pf);
pf94net/802/llc.cif(sk->llc.p_flag==pf)
pf99net/802/llc.cllc_update_p_flag(sk,pf);
pf114net/802/llc.cint llc_rx_d_conn(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
pf125net/802/llc.csend_response(UA|pf);
pf128net/802/llc.celse if(pf)
pf133net/802/llc.cif(cmd==UA && pf==sk->llc.p_flag)
pf150net/802/llc.cint llc_rx_error(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
pf158net/802/llc.csend_response(sk, UA|pf);
pf166net/802/llc.csend_response(sk, UA|pf);
pf171net/802/llc.cllc_resend_frmr_rsp(sk,pf);
pf184net/802/llc.csk->llc.p_flag=pf;
pf199net/802/llc.cint llc_rx_nr_shared(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
pf208net/802/llc.csend_response(sk,DM|pf);
pf214net/802/llc.csend_response(sk,UA|pf);
pf224net/802/llc.cllc_send_frmr_response(sk, ILLEGAL_TYPE,pf);
pf241net/802/llc.csend_command(sk, DM|pf);
pf242net/802/llc.csk->llc.p_flag=pf;
pf260net/802/llc.cllc_send_frmr_response(sk, UNEXPECTED_CONTROL, pf);
pf264net/802/llc.celse if(pf==1 && sk->llc.p_flag==0)
pf266net/802/llc.cllc_send_frmr_response(sk, UNEXPECTED_RESPONSE, pf);
pf272net/802/llc.cllc_send_frmr_response(sk, ILLEGAL_TYPE,pf);
pf288net/802/llc.cint llc_rx_normal(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
pf290net/802/llc.cif(llc_rx_nr_shared(sk, skb, type, cmd, pf, nr, ns))
pf296net/802/llc.cif((type==RESP && sk->llc.p_flag==pf)||(type==CMD && pf==0 && sk->llc.p_flag==0))
pf306net/802/llc.celse if((type==CMD && !pf && sk->llc.p_flag==1) || (type==RESP && !pf && sk->llc.p_flag==1))
pf317net/802/llc.celse if(pf && type==CMD)
pf331net/802/llc.cif(sk->llc.p_flag==pf && !(type==CMD && pf))
pf341net/802/llc.celse if(sk->ppc.p_flag!=pf)
pf354net/802/llc.celse if(pf)
pf370net/802/llc.cif(type==CMD || (type==RESP && (!pf || pf==1 && sk->llc.p_flag==1)))
pf372net/802/llc.cllc_update_p_flag(sk,pf);
pf386net/802/llc.celse if(type==cmd && pf)
pf177net/ax25/ax25_in.cstatic int ax25_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type)
pf183net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf189net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf193net/ax25/ax25_in.cax25_send_control(ax25, DM, pf, C_RESPONSE);
pf197net/ax25/ax25_in.cif (pf) {
pf216net/ax25/ax25_in.cif (pf) {
pf246net/ax25/ax25_in.cstatic int ax25_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type)
pf251net/ax25/ax25_in.cax25_send_control(ax25, DM, pf, C_RESPONSE);
pf255net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf259net/ax25/ax25_in.cif (pf) {
pf272net/ax25/ax25_in.cif (pf) {
pf288net/ax25/ax25_in.cif (pf)
pf304net/ax25/ax25_in.cstatic int ax25_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type)
pf312net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf324net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf335net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf362net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf373net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf384net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf413net/ax25/ax25_in.cif (pf) ax25_enquiry_response(ax25);
pf419net/ax25/ax25_in.cif (pf) ax25_enquiry_response(ax25);
pf424net/ax25/ax25_in.cif (pf) {
pf434net/ax25/ax25_in.cif (pf) ax25_enquiry_response(ax25);
pf437net/ax25/ax25_in.cax25_send_control(ax25, REJ, pf, C_RESPONSE);
pf461net/ax25/ax25_in.cstatic int ax25_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type)
pf469net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf483net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf496net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf523net/ax25/ax25_in.cif (type == C_RESPONSE && pf) {
pf538net/ax25/ax25_in.cif (type == C_COMMAND && pf)
pf550net/ax25/ax25_in.cif (type == C_RESPONSE && pf) {
pf567net/ax25/ax25_in.cif (type == C_COMMAND && pf)
pf579net/ax25/ax25_in.cif (type == C_RESPONSE && pf) {
pf596net/ax25/ax25_in.cif (type == C_COMMAND && pf)
pf621net/ax25/ax25_in.cif (pf) ax25_enquiry_response(ax25);
pf627net/ax25/ax25_in.cif (pf) ax25_enquiry_response(ax25);
pf632net/ax25/ax25_in.cif (pf) {
pf642net/ax25/ax25_in.cif (pf) ax25_enquiry_response(ax25);
pf645net/ax25/ax25_in.cax25_send_control(ax25, REJ, pf, C_RESPONSE);
pf669net/ax25/ax25_in.cint queued = 0, frametype, ns, nr, pf;
pf682net/ax25/ax25_in.cframetype = ax25_decode(ax25, skb, &ns, &nr, &pf);
pf686net/ax25/ax25_in.cqueued = ax25_state1_machine(ax25, skb, frametype, pf, type);
pf689net/ax25/ax25_in.cqueued = ax25_state2_machine(ax25, skb, frametype, pf, type);
pf692net/ax25/ax25_in.cqueued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type);
pf695net/ax25/ax25_in.cqueued = ax25_state4_machine(ax25, skb, frametype, ns, nr, pf, type);
pf315net/ax25/ax25_out.cvoid ax25_check_need_response(ax25_cb *ax25, int type, int pf)
pf317net/ax25/ax25_out.cif (type == C_COMMAND && pf)
pf145net/ax25/ax25_subr.cint ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf)
pf151net/ax25/ax25_subr.c*ns = *nr = *pf = 0;
pf158net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf162net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf165net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf173net/ax25/ax25_subr.c*pf = frame[1] & EPF;
pf178net/ax25/ax25_subr.c*pf = frame[1] & EPF;
pf182net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf20net/core/firewall.cint register_firewall(int pf, struct firewall_ops *fw)
pf24net/core/firewall.cif(pf<0||pf>=NPROTO)
pf26net/core/firewall.cif(pf!=PF_INET)
pf37net/core/firewall.cp=&firewall_chain[pf];
pf66net/core/firewall.cint unregister_firewall(int pf, struct firewall_ops *fw)
pf70net/core/firewall.cif(pf<0||pf>=NPROTO)
pf72net/core/firewall.cif(pf!=PF_INET)
pf83net/core/firewall.cnl=&firewall_chain[pf];
pf100net/core/firewall.cint call_fw_firewall(int pf, struct sk_buff *skb, void *phdr)
pf102net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
pf103net/core/firewall.cint result=firewall_policy[pf];
pf107net/core/firewall.cint rc=fw->fw_forward(fw,pf,skb,phdr);
pf120net/core/firewall.cint call_in_firewall(int pf, struct sk_buff *skb, void *phdr)
pf122net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
pf123net/core/firewall.cint result=firewall_policy[pf];
pf127net/core/firewall.cint rc=fw->fw_input(fw,pf,skb,phdr);
pf136net/core/firewall.cint call_out_firewall(int pf, struct sk_buff *skb, void *phdr)
pf138net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
pf139net/core/firewall.cint result=firewall_policy[pf];
pf143net/core/firewall.cint rc=fw->fw_output(fw,pf,skb,phdr);
pf1677net/ipv4/ip_fw.cint ipfw_input_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr)
pf1682net/ipv4/ip_fw.cint ipfw_forward_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr)