tag | line | file | source code |
pf | 17 | include/linux/firewall.h | int (*fw_forward)(struct firewall_ops *this, int pf, |
pf | 19 | include/linux/firewall.h | int (*fw_input)(struct firewall_ops *this, int pf, |
pf | 21 | include/linux/firewall.h | int (*fw_output)(struct firewall_ops *this, int pf, |
pf | 32 | include/linux/firewall.h | extern int register_firewall(int pf, struct firewall_ops *fw); |
pf | 33 | include/linux/firewall.h | extern int unregister_firewall(int pf, struct firewall_ops *fw); |
pf | 34 | include/linux/firewall.h | extern int call_fw_firewall(int pf, struct device *dev, void *phdr); |
pf | 35 | include/linux/firewall.h | extern int call_in_firewall(int pf, struct device *dev, void *phdr); |
pf | 36 | include/linux/firewall.h | extern int call_out_firewall(int pf, struct device *dev, void *phdr); |
pf | 6 | net/802/llc.c | int llc_rx_adm(struct sock *sk,struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
pf | 11 | net/802/llc.c | send_response(sk,DM|pf); |
pf | 15 | net/802/llc.c | send_response(sk. DM|pf); |
pf | 21 | net/802/llc.c | send_response(sk, UA|pf); |
pf | 30 | net/802/llc.c | else if(pf) |
pf | 36 | net/802/llc.c | int llc_rx_setup(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
pf | 44 | net/802/llc.c | send_response(sk, UA|pf); |
pf | 48 | net/802/llc.c | send_response(sk, DM|pf); |
pf | 55 | net/802/llc.c | if(cmd==UA && pf==sk->llc.p_flag) |
pf | 59 | net/802/llc.c | llc_update_p_flag(sk,pf); |
pf | 70 | net/802/llc.c | int llc_rx_reset(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
pf | 78 | net/802/llc.c | send_response(sk, UA|pf); |
pf | 86 | net/802/llc.c | send_response(sk, DM|pf); |
pf | 94 | net/802/llc.c | if(sk->llc.p_flag==pf) |
pf | 99 | net/802/llc.c | llc_update_p_flag(sk,pf); |
pf | 114 | net/802/llc.c | int llc_rx_d_conn(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
pf | 125 | net/802/llc.c | send_response(UA|pf); |
pf | 128 | net/802/llc.c | else if(pf) |
pf | 133 | net/802/llc.c | if(cmd==UA && pf==sk->llc.p_flag) |
pf | 150 | net/802/llc.c | int llc_rx_error(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
pf | 158 | net/802/llc.c | send_response(sk, UA|pf); |
pf | 166 | net/802/llc.c | send_response(sk, UA|pf); |
pf | 171 | net/802/llc.c | llc_resend_frmr_rsp(sk,pf); |
pf | 184 | net/802/llc.c | sk->llc.p_flag=pf; |
pf | 199 | net/802/llc.c | int llc_rx_nr_shared(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
pf | 208 | net/802/llc.c | send_response(sk,DM|pf); |
pf | 214 | net/802/llc.c | send_response(sk,UA|pf); |
pf | 224 | net/802/llc.c | llc_send_frmr_response(sk, ILLEGAL_TYPE,pf); |
pf | 241 | net/802/llc.c | send_command(sk, DM|pf); |
pf | 242 | net/802/llc.c | sk->llc.p_flag=pf; |
pf | 260 | net/802/llc.c | llc_send_frmr_response(sk, UNEXPECTED_CONTROL, pf); |
pf | 264 | net/802/llc.c | else if(pf==1 && sk->llc.p_flag==0) |
pf | 266 | net/802/llc.c | llc_send_frmr_response(sk, UNEXPECTED_RESPONSE, pf); |
pf | 272 | net/802/llc.c | llc_send_frmr_response(sk, ILLEGAL_TYPE,pf); |
pf | 288 | net/802/llc.c | int llc_rx_normal(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
pf | 290 | net/802/llc.c | if(llc_rx_nr_shared(sk, skb, type, cmd, pf, nr, ns)) |
pf | 296 | net/802/llc.c | if((type==RESP && sk->llc.p_flag==pf)||(type==CMD && pf==0 && sk->llc.p_flag==0)) |
pf | 306 | net/802/llc.c | else if((type==CMD && !pf && sk->llc.p_flag==1) || (type==RESP && !pf && sk->llc.p_flag==1)) |
pf | 317 | net/802/llc.c | else if(pf && type==CMD) |
pf | 331 | net/802/llc.c | if(sk->llc.p_flag==pf && !(type==CMD && pf)) |
pf | 341 | net/802/llc.c | else if(sk->ppc.p_flag!=pf) |
pf | 354 | net/802/llc.c | else if(pf) |
pf | 370 | net/802/llc.c | if(type==CMD || (type==RESP && (!pf || pf==1 && sk->llc.p_flag==1))) |
pf | 372 | net/802/llc.c | llc_update_p_flag(sk,pf); |
pf | 386 | net/802/llc.c | else if(type==cmd && pf) |
pf | 213 | net/ax25/ax25_in.c | static int ax25_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type, int dama) |
pf | 219 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 225 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 229 | net/ax25/ax25_in.c | ax25_send_control(ax25, DM, pf, C_RESPONSE); |
pf | 233 | net/ax25/ax25_in.c | if (pf || dama) { |
pf | 257 | net/ax25/ax25_in.c | if (pf) { |
pf | 276 | net/ax25/ax25_in.c | if (dama && pf) /* dl1bke 960116 */ |
pf | 289 | net/ax25/ax25_in.c | static int ax25_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) |
pf | 294 | net/ax25/ax25_in.c | ax25_send_control(ax25, DM, pf, C_RESPONSE); |
pf | 300 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 316 | net/ax25/ax25_in.c | if (pf) { |
pf | 331 | net/ax25/ax25_in.c | if (pf) { |
pf | 349 | net/ax25/ax25_in.c | if (pf) { |
pf | 369 | net/ax25/ax25_in.c | static int ax25_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type, int dama) |
pf | 379 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 395 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 408 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 438 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 441 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 450 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 453 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 462 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 469 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 492 | net/ax25/ax25_in.c | if (pf) { |
pf | 503 | net/ax25/ax25_in.c | if (pf) { |
pf | 513 | net/ax25/ax25_in.c | if (pf) { |
pf | 526 | net/ax25/ax25_in.c | if (pf) { |
pf | 537 | net/ax25/ax25_in.c | ax25_send_control(ax25, REJ, pf, C_RESPONSE); |
pf | 561 | net/ax25/ax25_in.c | static int ax25_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type, int dama) |
pf | 572 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 590 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 604 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 635 | net/ax25/ax25_in.c | if (type == C_RESPONSE && pf) { |
pf | 651 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 654 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 663 | net/ax25/ax25_in.c | if ( pf && (type == C_RESPONSE || (ax25->dama_slave && type == C_COMMAND)) ) { |
pf | 674 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 682 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 685 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 694 | net/ax25/ax25_in.c | if ( pf && (type == C_RESPONSE || (ax25->dama_slave && type == C_COMMAND)) ) { |
pf | 705 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 713 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 719 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 738 | net/ax25/ax25_in.c | if (pf) { /* dl1bke 960114 */ |
pf | 749 | net/ax25/ax25_in.c | if (pf) { /* dl1bke 960114 */ |
pf | 759 | net/ax25/ax25_in.c | if (pf) { |
pf | 772 | net/ax25/ax25_in.c | if (pf) { /* dl1bke 960114 */ |
pf | 783 | net/ax25/ax25_in.c | ax25_send_control(ax25, REJ, pf, C_RESPONSE); |
pf | 807 | net/ax25/ax25_in.c | int queued = 0, frametype, ns, nr, pf; |
pf | 820 | net/ax25/ax25_in.c | frametype = ax25_decode(ax25, skb, &ns, &nr, &pf); |
pf | 824 | net/ax25/ax25_in.c | queued = ax25_state1_machine(ax25, skb, frametype, pf, type, dama); |
pf | 827 | net/ax25/ax25_in.c | queued = ax25_state2_machine(ax25, skb, frametype, pf, type); |
pf | 830 | net/ax25/ax25_in.c | queued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type, dama); |
pf | 833 | net/ax25/ax25_in.c | queued = ax25_state4_machine(ax25, skb, frametype, ns, nr, pf, type, dama); |
pf | 362 | net/ax25/ax25_out.c | void ax25_check_need_response(ax25_cb *ax25, int type, int pf) |
pf | 364 | net/ax25/ax25_out.c | if (!ax25->dama_slave && type == C_COMMAND && pf) |
pf | 438 | net/ax25/ax25_out.c | void dama_check_need_response(ax25_cb *ax25, int type, int pf) |
pf | 440 | net/ax25/ax25_out.c | if (ax25->dama_slave && type == C_COMMAND && pf) |
pf | 154 | net/ax25/ax25_subr.c | int ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf) |
pf | 160 | net/ax25/ax25_subr.c | *ns = *nr = *pf = 0; |
pf | 167 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 171 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 174 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 182 | net/ax25/ax25_subr.c | *pf = frame[1] & EPF; |
pf | 187 | net/ax25/ax25_subr.c | *pf = frame[1] & EPF; |
pf | 191 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 21 | net/core/firewall.c | int register_firewall(int pf, struct firewall_ops *fw) |
pf | 25 | net/core/firewall.c | if(pf<0||pf>=NPROTO) |
pf | 36 | net/core/firewall.c | p=&firewall_chain[pf]; |
pf | 70 | net/core/firewall.c | int unregister_firewall(int pf, struct firewall_ops *fw) |
pf | 74 | net/core/firewall.c | if(pf<0||pf>=NPROTO) |
pf | 85 | net/core/firewall.c | nl=&firewall_chain[pf]; |
pf | 102 | net/core/firewall.c | int call_fw_firewall(int pf, struct device *dev, void *phdr) |
pf | 104 | net/core/firewall.c | struct firewall_ops *fw=firewall_chain[pf]; |
pf | 108 | net/core/firewall.c | int rc=fw->fw_forward(fw,pf,dev,phdr); |
pf | 113 | net/core/firewall.c | return firewall_policy[pf]; |
pf | 120 | net/core/firewall.c | int call_in_firewall(int pf, struct device *dev, void *phdr) |
pf | 122 | net/core/firewall.c | struct firewall_ops *fw=firewall_chain[pf]; |
pf | 126 | net/core/firewall.c | int rc=fw->fw_input(fw,pf,dev,phdr); |
pf | 131 | net/core/firewall.c | return firewall_policy[pf]; |
pf | 134 | net/core/firewall.c | int call_out_firewall(int pf, struct device *dev, void *phdr) |
pf | 136 | net/core/firewall.c | struct firewall_ops *fw=firewall_chain[pf]; |
pf | 140 | net/core/firewall.c | int rc=fw->fw_output(fw,pf,dev,phdr); |
pf | 146 | net/core/firewall.c | return firewall_policy[pf]; |
pf | 1107 | net/ipv4/ip_fw.c | int ipfw_input_check(struct firewall_ops *this, int pf, struct device *dev, void *phdr) |
pf | 1112 | net/ipv4/ip_fw.c | int ipfw_output_check(struct firewall_ops *this, int pf, struct device *dev, void *phdr) |
pf | 1117 | net/ipv4/ip_fw.c | int ipfw_forward_check(struct firewall_ops *this, int pf, struct device *dev, void *phdr) |