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)
pf184net/ax25/ax25_in.cstatic int ax25_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type, int dama)
pf190net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf196net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf200net/ax25/ax25_in.cax25_send_control(ax25, DM, pf, C_RESPONSE);
pf204net/ax25/ax25_in.cif (pf || dama) {
pf227net/ax25/ax25_in.cif (pf) {
pf246net/ax25/ax25_in.cif (dama && pf)  /* dl1bke 960116 */
pf259net/ax25/ax25_in.cstatic int ax25_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type)
pf264net/ax25/ax25_in.cax25_send_control(ax25, DM, pf, C_RESPONSE);
pf270net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf287net/ax25/ax25_in.cif (pf) {
pf303net/ax25/ax25_in.cif (pf) {
pf322net/ax25/ax25_in.cif (pf) {
pf342net/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, int dama)
pf352net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf367net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf379net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf411net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf414net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf423net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf426net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf435net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf442net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf465net/ax25/ax25_in.cif (pf)  {
pf476net/ax25/ax25_in.cif (pf) {
pf486net/ax25/ax25_in.cif (pf) {
pf499net/ax25/ax25_in.cif (pf) {
pf510net/ax25/ax25_in.cax25_send_control(ax25, REJ, pf, C_RESPONSE);
pf534net/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, int dama)
pf545net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf562net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf575net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf608net/ax25/ax25_in.cif (type == C_RESPONSE && pf) {
pf626net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf629net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf638net/ax25/ax25_in.cif ( pf && (type == C_RESPONSE || (ax25->dama_slave && type == C_COMMAND)) ) {
pf649net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf657net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);  /* dl1bke 960114 */
pf660net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);  /* dl1bke 960114 */
pf669net/ax25/ax25_in.cif ( pf && (type == C_RESPONSE || (ax25->dama_slave && type == C_COMMAND)) ) {
pf680net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf688net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);  /* dl1bke 960114 */
pf694net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);  /* dl1bke 960114 */
pf713net/ax25/ax25_in.cif (pf) {  /* dl1bke 960114 */
pf724net/ax25/ax25_in.cif (pf) {  /* dl1bke 960114 */
pf734net/ax25/ax25_in.cif (pf) {
pf747net/ax25/ax25_in.cif (pf) {   /* dl1bke 960114 */
pf758net/ax25/ax25_in.cax25_send_control(ax25, REJ, pf, C_RESPONSE);
pf782net/ax25/ax25_in.cint queued = 0, frametype, ns, nr, pf;
pf795net/ax25/ax25_in.cframetype = ax25_decode(ax25, skb, &ns, &nr, &pf);
pf799net/ax25/ax25_in.cqueued = ax25_state1_machine(ax25, skb, frametype, pf, type, dama);
pf802net/ax25/ax25_in.cqueued = ax25_state2_machine(ax25, skb, frametype, pf, type);
pf805net/ax25/ax25_in.cqueued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type, dama);
pf808net/ax25/ax25_in.cqueued = ax25_state4_machine(ax25, skb, frametype, ns, nr, pf, type, dama);
pf324net/ax25/ax25_out.cvoid ax25_check_need_response(ax25_cb *ax25, int type, int pf)
pf326net/ax25/ax25_out.cif (!ax25->dama_slave && type == C_COMMAND && pf)
pf397net/ax25/ax25_out.cvoid dama_check_need_response(ax25_cb *ax25, int type, int pf)
pf399net/ax25/ax25_out.cif (ax25->dama_slave && type == C_COMMAND && pf)
pf151net/ax25/ax25_subr.cint ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf)
pf157net/ax25/ax25_subr.c*ns = *nr = *pf = 0;
pf164net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf168net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf171net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf179net/ax25/ax25_subr.c*pf = frame[1] & EPF;
pf184net/ax25/ax25_subr.c*pf = frame[1] & EPF;
pf188net/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)
pf35net/core/firewall.cp=&firewall_chain[pf];
pf64net/core/firewall.cint unregister_firewall(int pf, struct firewall_ops *fw)
pf68net/core/firewall.cif(pf<0||pf>=NPROTO)
pf79net/core/firewall.cnl=&firewall_chain[pf];
pf96net/core/firewall.cint call_fw_firewall(int pf, struct sk_buff *skb, void *phdr)
pf98net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
pf102net/core/firewall.cint rc=fw->fw_forward(fw,pf,skb,phdr);
pf107net/core/firewall.creturn firewall_policy[pf];
pf114net/core/firewall.cint call_in_firewall(int pf, struct sk_buff *skb, void *phdr)
pf116net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
pf120net/core/firewall.cint rc=fw->fw_input(fw,pf,skb,phdr);
pf125net/core/firewall.creturn firewall_policy[pf];
pf128net/core/firewall.cint call_out_firewall(int pf, struct sk_buff *skb, void *phdr)
pf130net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
pf134net/core/firewall.cint rc=fw->fw_output(fw,pf,skb,phdr);
pf140net/core/firewall.creturn firewall_policy[pf];
pf1621net/ipv4/ip_fw.cint ipfw_input_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr)
pf1626net/ipv4/ip_fw.cint ipfw_output_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr)
pf1631net/ipv4/ip_fw.cint ipfw_forward_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr)