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 sk_buff *skb, void *phdr); |
pf | 35 | include/linux/firewall.h | extern int call_in_firewall(int pf, struct sk_buff *skb, void *phdr); |
pf | 36 | include/linux/firewall.h | extern int call_out_firewall(int pf, struct sk_buff *skb, 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 | 184 | 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 | 190 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 196 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 200 | net/ax25/ax25_in.c | ax25_send_control(ax25, DM, pf, C_RESPONSE); |
pf | 204 | net/ax25/ax25_in.c | if (pf || dama) { |
pf | 227 | net/ax25/ax25_in.c | if (pf) { |
pf | 246 | net/ax25/ax25_in.c | if (dama && pf) /* dl1bke 960116 */ |
pf | 259 | net/ax25/ax25_in.c | static int ax25_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) |
pf | 264 | net/ax25/ax25_in.c | ax25_send_control(ax25, DM, pf, C_RESPONSE); |
pf | 270 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 287 | net/ax25/ax25_in.c | if (pf) { |
pf | 303 | net/ax25/ax25_in.c | if (pf) { |
pf | 322 | net/ax25/ax25_in.c | if (pf) { |
pf | 342 | 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 | 352 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 367 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 379 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 411 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 414 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 423 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 426 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 435 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 442 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 465 | net/ax25/ax25_in.c | if (pf) { |
pf | 476 | net/ax25/ax25_in.c | if (pf) { |
pf | 486 | net/ax25/ax25_in.c | if (pf) { |
pf | 499 | net/ax25/ax25_in.c | if (pf) { |
pf | 510 | net/ax25/ax25_in.c | ax25_send_control(ax25, REJ, pf, C_RESPONSE); |
pf | 534 | 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 | 545 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 562 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 575 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 608 | net/ax25/ax25_in.c | if (type == C_RESPONSE && pf) { |
pf | 626 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 629 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 638 | net/ax25/ax25_in.c | if ( pf && (type == C_RESPONSE || (ax25->dama_slave && type == C_COMMAND)) ) { |
pf | 649 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 657 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); /* dl1bke 960114 */ |
pf | 660 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); /* dl1bke 960114 */ |
pf | 669 | net/ax25/ax25_in.c | if ( pf && (type == C_RESPONSE || (ax25->dama_slave && type == C_COMMAND)) ) { |
pf | 680 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); |
pf | 688 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); /* dl1bke 960114 */ |
pf | 694 | net/ax25/ax25_in.c | dama_check_need_response(ax25, type, pf); /* dl1bke 960114 */ |
pf | 713 | net/ax25/ax25_in.c | if (pf) { /* dl1bke 960114 */ |
pf | 724 | net/ax25/ax25_in.c | if (pf) { /* dl1bke 960114 */ |
pf | 734 | net/ax25/ax25_in.c | if (pf) { |
pf | 747 | net/ax25/ax25_in.c | if (pf) { /* dl1bke 960114 */ |
pf | 758 | net/ax25/ax25_in.c | ax25_send_control(ax25, REJ, pf, C_RESPONSE); |
pf | 782 | net/ax25/ax25_in.c | int queued = 0, frametype, ns, nr, pf; |
pf | 795 | net/ax25/ax25_in.c | frametype = ax25_decode(ax25, skb, &ns, &nr, &pf); |
pf | 799 | net/ax25/ax25_in.c | queued = ax25_state1_machine(ax25, skb, frametype, pf, type, dama); |
pf | 802 | net/ax25/ax25_in.c | queued = ax25_state2_machine(ax25, skb, frametype, pf, type); |
pf | 805 | net/ax25/ax25_in.c | queued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type, dama); |
pf | 808 | net/ax25/ax25_in.c | queued = ax25_state4_machine(ax25, skb, frametype, ns, nr, pf, type, dama); |
pf | 324 | net/ax25/ax25_out.c | void ax25_check_need_response(ax25_cb *ax25, int type, int pf) |
pf | 326 | net/ax25/ax25_out.c | if (!ax25->dama_slave && type == C_COMMAND && pf) |
pf | 397 | net/ax25/ax25_out.c | void dama_check_need_response(ax25_cb *ax25, int type, int pf) |
pf | 399 | net/ax25/ax25_out.c | if (ax25->dama_slave && type == C_COMMAND && pf) |
pf | 151 | net/ax25/ax25_subr.c | int ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf) |
pf | 157 | net/ax25/ax25_subr.c | *ns = *nr = *pf = 0; |
pf | 164 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 168 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 171 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 179 | net/ax25/ax25_subr.c | *pf = frame[1] & EPF; |
pf | 184 | net/ax25/ax25_subr.c | *pf = frame[1] & EPF; |
pf | 188 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 20 | net/core/firewall.c | int register_firewall(int pf, struct firewall_ops *fw) |
pf | 24 | net/core/firewall.c | if(pf<0||pf>=NPROTO) |
pf | 35 | net/core/firewall.c | p=&firewall_chain[pf]; |
pf | 64 | net/core/firewall.c | int unregister_firewall(int pf, struct firewall_ops *fw) |
pf | 68 | net/core/firewall.c | if(pf<0||pf>=NPROTO) |
pf | 79 | net/core/firewall.c | nl=&firewall_chain[pf]; |
pf | 96 | net/core/firewall.c | int call_fw_firewall(int pf, struct sk_buff *skb, void *phdr) |
pf | 98 | net/core/firewall.c | struct firewall_ops *fw=firewall_chain[pf]; |
pf | 102 | net/core/firewall.c | int rc=fw->fw_forward(fw,pf,skb,phdr); |
pf | 107 | net/core/firewall.c | return firewall_policy[pf]; |
pf | 114 | net/core/firewall.c | int call_in_firewall(int pf, struct sk_buff *skb, void *phdr) |
pf | 116 | net/core/firewall.c | struct firewall_ops *fw=firewall_chain[pf]; |
pf | 120 | net/core/firewall.c | int rc=fw->fw_input(fw,pf,skb,phdr); |
pf | 125 | net/core/firewall.c | return firewall_policy[pf]; |
pf | 128 | net/core/firewall.c | int call_out_firewall(int pf, struct sk_buff *skb, void *phdr) |
pf | 130 | net/core/firewall.c | struct firewall_ops *fw=firewall_chain[pf]; |
pf | 134 | net/core/firewall.c | int rc=fw->fw_output(fw,pf,skb,phdr); |
pf | 140 | net/core/firewall.c | return firewall_policy[pf]; |
pf | 1621 | net/ipv4/ip_fw.c | int ipfw_input_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr) |
pf | 1626 | net/ipv4/ip_fw.c | int ipfw_output_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr) |
pf | 1631 | net/ipv4/ip_fw.c | int ipfw_forward_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr) |