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 device *dev, void *phdr);
pf35include/linux/firewall.hextern int call_in_firewall(int pf, struct device *dev, void *phdr);
pf36include/linux/firewall.hextern int call_out_firewall(int pf, struct device *dev, 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)
pf213net/ax25/ax25_in.cstatic int ax25_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type, int dama)
pf219net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf225net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf229net/ax25/ax25_in.cax25_send_control(ax25, DM, pf, C_RESPONSE);
pf233net/ax25/ax25_in.cif (pf || dama) {
pf257net/ax25/ax25_in.cif (pf) {
pf276net/ax25/ax25_in.cif (dama && pf)  /* dl1bke 960116 */
pf289net/ax25/ax25_in.cstatic int ax25_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type)
pf294net/ax25/ax25_in.cax25_send_control(ax25, DM, pf, C_RESPONSE);
pf300net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf316net/ax25/ax25_in.cif (pf) {
pf331net/ax25/ax25_in.cif (pf) {
pf349net/ax25/ax25_in.cif (pf) {
pf369net/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)
pf379net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf395net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf408net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf438net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf441net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf450net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf453net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf462net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf469net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf492net/ax25/ax25_in.cif (pf)  {
pf503net/ax25/ax25_in.cif (pf) {
pf513net/ax25/ax25_in.cif (pf) {
pf526net/ax25/ax25_in.cif (pf) {
pf537net/ax25/ax25_in.cax25_send_control(ax25, REJ, pf, C_RESPONSE);
pf561net/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)
pf572net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf590net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf604net/ax25/ax25_in.cax25_send_control(ax25, UA, pf, C_RESPONSE);
pf635net/ax25/ax25_in.cif (type == C_RESPONSE && pf) {
pf651net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf654net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf663net/ax25/ax25_in.cif ( pf && (type == C_RESPONSE || (ax25->dama_slave && type == C_COMMAND)) ) {
pf674net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf682net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);
pf685net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf694net/ax25/ax25_in.cif ( pf && (type == C_RESPONSE || (ax25->dama_slave && type == C_COMMAND)) ) {
pf705net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf713net/ax25/ax25_in.cax25_check_need_response(ax25, type, pf);  
pf719net/ax25/ax25_in.cdama_check_need_response(ax25, type, pf);
pf738net/ax25/ax25_in.cif (pf) {  /* dl1bke 960114 */
pf749net/ax25/ax25_in.cif (pf) {  /* dl1bke 960114 */
pf759net/ax25/ax25_in.cif (pf) {
pf772net/ax25/ax25_in.cif (pf) {   /* dl1bke 960114 */
pf783net/ax25/ax25_in.cax25_send_control(ax25, REJ, pf, C_RESPONSE);
pf807net/ax25/ax25_in.cint queued = 0, frametype, ns, nr, pf;
pf820net/ax25/ax25_in.cframetype = ax25_decode(ax25, skb, &ns, &nr, &pf);
pf824net/ax25/ax25_in.cqueued = ax25_state1_machine(ax25, skb, frametype, pf, type, dama);
pf827net/ax25/ax25_in.cqueued = ax25_state2_machine(ax25, skb, frametype, pf, type);
pf830net/ax25/ax25_in.cqueued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type, dama);
pf833net/ax25/ax25_in.cqueued = ax25_state4_machine(ax25, skb, frametype, ns, nr, pf, type, dama);
pf362net/ax25/ax25_out.cvoid ax25_check_need_response(ax25_cb *ax25, int type, int pf)
pf364net/ax25/ax25_out.cif (!ax25->dama_slave && type == C_COMMAND && pf)
pf435net/ax25/ax25_out.cvoid dama_check_need_response(ax25_cb *ax25, int type, int pf)
pf437net/ax25/ax25_out.cif (ax25->dama_slave && type == C_COMMAND && pf)
pf154net/ax25/ax25_subr.cint ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf)
pf160net/ax25/ax25_subr.c*ns = *nr = *pf = 0;
pf167net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf171net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf174net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf182net/ax25/ax25_subr.c*pf = frame[1] & EPF;
pf187net/ax25/ax25_subr.c*pf = frame[1] & EPF;
pf191net/ax25/ax25_subr.c*pf = frame[0] & PF;
pf21net/core/firewall.cint register_firewall(int pf, struct firewall_ops *fw)
pf25net/core/firewall.cif(pf<0||pf>=NPROTO)
pf36net/core/firewall.cp=&firewall_chain[pf];
pf70net/core/firewall.cint unregister_firewall(int pf, struct firewall_ops *fw)
pf74net/core/firewall.cif(pf<0||pf>=NPROTO)
pf85net/core/firewall.cnl=&firewall_chain[pf];
pf102net/core/firewall.cint call_fw_firewall(int pf, struct device *dev, void *phdr)
pf104net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
pf108net/core/firewall.cint rc=fw->fw_forward(fw,pf,dev,phdr);
pf113net/core/firewall.creturn firewall_policy[pf];
pf120net/core/firewall.cint call_in_firewall(int pf, struct device *dev, void *phdr)
pf122net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
pf126net/core/firewall.cint rc=fw->fw_input(fw,pf,dev,phdr);
pf131net/core/firewall.creturn firewall_policy[pf];
pf134net/core/firewall.cint call_out_firewall(int pf, struct device *dev, void *phdr)
pf136net/core/firewall.cstruct firewall_ops *fw=firewall_chain[pf];
pf140net/core/firewall.cint rc=fw->fw_output(fw,pf,dev,phdr);
pf146net/core/firewall.creturn firewall_policy[pf];
pf1107net/ipv4/ip_fw.cint ipfw_input_check(struct firewall_ops *this, int pf, struct device *dev, void *phdr)
pf1112net/ipv4/ip_fw.cint ipfw_output_check(struct firewall_ops *this, int pf, struct device *dev, void *phdr)
pf1117net/ipv4/ip_fw.cint ipfw_forward_check(struct firewall_ops *this, int pf, struct device *dev, void *phdr)