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 | 177 | net/ax25/ax25_in.c | static int ax25_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) |
pf | 183 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 189 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 193 | net/ax25/ax25_in.c | ax25_send_control(ax25, DM, pf, C_RESPONSE); |
pf | 197 | net/ax25/ax25_in.c | if (pf) { |
pf | 216 | net/ax25/ax25_in.c | if (pf) { |
pf | 246 | net/ax25/ax25_in.c | static int ax25_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) |
pf | 251 | net/ax25/ax25_in.c | ax25_send_control(ax25, DM, pf, C_RESPONSE); |
pf | 255 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 259 | net/ax25/ax25_in.c | if (pf) { |
pf | 272 | net/ax25/ax25_in.c | if (pf) { |
pf | 288 | net/ax25/ax25_in.c | if (pf) |
pf | 304 | 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) |
pf | 312 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 324 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 335 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 362 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 373 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 384 | net/ax25/ax25_in.c | ax25_check_need_response(ax25, type, pf); |
pf | 413 | net/ax25/ax25_in.c | if (pf) ax25_enquiry_response(ax25); |
pf | 419 | net/ax25/ax25_in.c | if (pf) ax25_enquiry_response(ax25); |
pf | 424 | net/ax25/ax25_in.c | if (pf) { |
pf | 434 | net/ax25/ax25_in.c | if (pf) ax25_enquiry_response(ax25); |
pf | 437 | net/ax25/ax25_in.c | ax25_send_control(ax25, REJ, pf, C_RESPONSE); |
pf | 461 | 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) |
pf | 469 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 483 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 496 | net/ax25/ax25_in.c | ax25_send_control(ax25, UA, pf, C_RESPONSE); |
pf | 523 | net/ax25/ax25_in.c | if (type == C_RESPONSE && pf) { |
pf | 538 | net/ax25/ax25_in.c | if (type == C_COMMAND && pf) |
pf | 550 | net/ax25/ax25_in.c | if (type == C_RESPONSE && pf) { |
pf | 567 | net/ax25/ax25_in.c | if (type == C_COMMAND && pf) |
pf | 579 | net/ax25/ax25_in.c | if (type == C_RESPONSE && pf) { |
pf | 596 | net/ax25/ax25_in.c | if (type == C_COMMAND && pf) |
pf | 621 | net/ax25/ax25_in.c | if (pf) ax25_enquiry_response(ax25); |
pf | 627 | net/ax25/ax25_in.c | if (pf) ax25_enquiry_response(ax25); |
pf | 632 | net/ax25/ax25_in.c | if (pf) { |
pf | 642 | net/ax25/ax25_in.c | if (pf) ax25_enquiry_response(ax25); |
pf | 645 | net/ax25/ax25_in.c | ax25_send_control(ax25, REJ, pf, C_RESPONSE); |
pf | 669 | net/ax25/ax25_in.c | int queued = 0, frametype, ns, nr, pf; |
pf | 682 | net/ax25/ax25_in.c | frametype = ax25_decode(ax25, skb, &ns, &nr, &pf); |
pf | 686 | net/ax25/ax25_in.c | queued = ax25_state1_machine(ax25, skb, frametype, pf, type); |
pf | 689 | net/ax25/ax25_in.c | queued = ax25_state2_machine(ax25, skb, frametype, pf, type); |
pf | 692 | net/ax25/ax25_in.c | queued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type); |
pf | 695 | net/ax25/ax25_in.c | queued = ax25_state4_machine(ax25, skb, frametype, ns, nr, pf, type); |
pf | 315 | net/ax25/ax25_out.c | void ax25_check_need_response(ax25_cb *ax25, int type, int pf) |
pf | 317 | net/ax25/ax25_out.c | if (type == C_COMMAND && pf) |
pf | 145 | net/ax25/ax25_subr.c | int ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf) |
pf | 151 | net/ax25/ax25_subr.c | *ns = *nr = *pf = 0; |
pf | 158 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 162 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 165 | net/ax25/ax25_subr.c | *pf = frame[0] & PF; |
pf | 173 | net/ax25/ax25_subr.c | *pf = frame[1] & EPF; |
pf | 178 | net/ax25/ax25_subr.c | *pf = frame[1] & EPF; |
pf | 182 | 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 | 26 | net/core/firewall.c | if(pf!=PF_INET) |
pf | 37 | net/core/firewall.c | p=&firewall_chain[pf]; |
pf | 66 | net/core/firewall.c | int unregister_firewall(int pf, struct firewall_ops *fw) |
pf | 70 | net/core/firewall.c | if(pf<0||pf>=NPROTO) |
pf | 72 | net/core/firewall.c | if(pf!=PF_INET) |
pf | 83 | net/core/firewall.c | nl=&firewall_chain[pf]; |
pf | 100 | net/core/firewall.c | int call_fw_firewall(int pf, struct sk_buff *skb, void *phdr) |
pf | 102 | net/core/firewall.c | struct firewall_ops *fw=firewall_chain[pf]; |
pf | 103 | net/core/firewall.c | int result=firewall_policy[pf]; |
pf | 107 | net/core/firewall.c | int rc=fw->fw_forward(fw,pf,skb,phdr); |
pf | 120 | net/core/firewall.c | int call_in_firewall(int pf, struct sk_buff *skb, void *phdr) |
pf | 122 | net/core/firewall.c | struct firewall_ops *fw=firewall_chain[pf]; |
pf | 123 | net/core/firewall.c | int result=firewall_policy[pf]; |
pf | 127 | net/core/firewall.c | int rc=fw->fw_input(fw,pf,skb,phdr); |
pf | 136 | net/core/firewall.c | int call_out_firewall(int pf, struct sk_buff *skb, void *phdr) |
pf | 138 | net/core/firewall.c | struct firewall_ops *fw=firewall_chain[pf]; |
pf | 139 | net/core/firewall.c | int result=firewall_policy[pf]; |
pf | 143 | net/core/firewall.c | int rc=fw->fw_output(fw,pf,skb,phdr); |
pf | 1677 | net/ipv4/ip_fw.c | int ipfw_input_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr) |
pf | 1682 | net/ipv4/ip_fw.c | int ipfw_forward_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr) |