/net/lapb/ |
D | lapb_in.c | 49 lapb_dbg(1, "(%p) S0 RX SABM(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine() 52 lapb->dev, frame->pf); in lapb_state0_machine() 53 lapb_send_control(lapb, LAPB_DM, frame->pf, in lapb_state0_machine() 57 lapb->dev, frame->pf); in lapb_state0_machine() 59 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine() 74 lapb_dbg(1, "(%p) S0 RX SABME(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine() 77 lapb->dev, frame->pf); in lapb_state0_machine() 79 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine() 92 lapb->dev, frame->pf); in lapb_state0_machine() 93 lapb_send_control(lapb, LAPB_DM, frame->pf, in lapb_state0_machine() [all …]
|
D | lapb_subr.c | 164 frame->pf = skb->data[1] & LAPB_EPF; in lapb_decode() 176 frame->pf = skb->data[1] & LAPB_EPF; in lapb_decode() 185 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode() 198 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode() 205 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode() 211 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode()
|
/net/ax25/ |
D | ax25_std_in.c | 42 static int ax25_std_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int t… in ax25_std_state1_machine() argument 48 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_std_state1_machine() 54 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_std_state1_machine() 58 ax25_send_control(ax25, AX25_DM, pf, AX25_RESPONSE); in ax25_std_state1_machine() 62 if (pf) { in ax25_std_state1_machine() 84 if (pf) { in ax25_std_state1_machine() 106 static int ax25_std_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int t… in ax25_std_state2_machine() argument 111 ax25_send_control(ax25, AX25_DM, pf, AX25_RESPONSE); in ax25_std_state2_machine() 115 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_std_state2_machine() 121 if (pf) in ax25_std_state2_machine() [all …]
|
D | ax25_ds_in.c | 35 static int ax25_ds_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int ty… in ax25_ds_state1_machine() argument 41 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_ds_state1_machine() 47 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_ds_state1_machine() 51 ax25_send_control(ax25, AX25_DM, pf, AX25_RESPONSE); in ax25_ds_state1_machine() 85 if (pf) in ax25_ds_state1_machine() 90 if (pf) in ax25_ds_state1_machine() 103 static int ax25_ds_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int ty… in ax25_ds_state2_machine() argument 113 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_ds_state2_machine() 120 if (pf) { in ax25_ds_state2_machine() 130 if (pf) { in ax25_ds_state2_machine() [all …]
|
D | ax25_subr.c | 100 int ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf) in ax25_decode() argument 106 *ns = *nr = *pf = 0; in ax25_decode() 113 *pf = frame[0] & AX25_PF; in ax25_decode() 117 *pf = frame[0] & AX25_PF; in ax25_decode() 120 *pf = frame[0] & AX25_PF; in ax25_decode() 128 *pf = frame[1] & AX25_EPF; in ax25_decode() 133 *pf = frame[1] & AX25_EPF; in ax25_decode() 137 *pf = frame[0] & AX25_PF; in ax25_decode()
|
/net/netfilter/ |
D | nf_sockopt.c | 31 if (ops->pf == reg->pf in nf_register_sockopt() 61 static struct nf_sockopt_ops *nf_sockopt_find(struct sock *sk, u_int8_t pf, in nf_sockopt_find() argument 68 if (ops->pf == pf) { in nf_sockopt_find() 92 static int nf_sockopt(struct sock *sk, u_int8_t pf, int val, in nf_sockopt() argument 98 ops = nf_sockopt_find(sk, pf, val, get); in nf_sockopt() 111 int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, in nf_setsockopt() argument 114 return nf_sockopt(sk, pf, val, opt, &len, 0); in nf_setsockopt() 118 int nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, in nf_getsockopt() argument 121 return nf_sockopt(sk, pf, val, opt, len, 1); in nf_getsockopt() 126 static int compat_nf_sockopt(struct sock *sk, u_int8_t pf, int val, in compat_nf_sockopt() argument [all …]
|
D | nf_log.c | 25 static struct nf_logger *__find_logger(int pf, const char *str_logger) in __find_logger() argument 31 if (loggers[pf][i] == NULL) in __find_logger() 34 log = nft_log_dereference(loggers[pf][i]); in __find_logger() 42 void nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set() argument 46 if (pf == NFPROTO_UNSPEC) in nf_log_set() 50 log = nft_log_dereference(net->nf.nf_loggers[pf]); in nf_log_set() 52 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_set() 75 int nf_log_register(u_int8_t pf, struct nf_logger *logger) in nf_log_register() argument 79 if (pf >= ARRAY_SIZE(init_net.nf.nf_loggers)) in nf_log_register() 84 if (pf == NFPROTO_UNSPEC) { in nf_log_register() [all …]
|
D | nf_queue.c | 121 u_int8_t pf, unsigned int hook, in nf_queue() argument 141 afinfo = nf_get_afinfo(pf); in nf_queue() 154 .pf = pf, in nf_queue() 204 afinfo = nf_get_afinfo(entry->pf); in nf_reinject() 211 verdict = nf_iterate(&nf_hooks[entry->pf][entry->hook], in nf_reinject() 225 err = nf_queue(skb, elem, entry->pf, entry->hook, in nf_reinject()
|
D | core.c | 69 list_for_each_entry(elem, &nf_hooks[reg->pf][reg->hooknum], list) { in nf_register_hook() 76 static_key_slow_inc(&nf_hooks_needed[reg->pf][reg->hooknum]); in nf_register_hook() 88 static_key_slow_dec(&nf_hooks_needed[reg->pf][reg->hooknum]); in nf_unregister_hook() 164 int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb, in nf_hook_slow() argument 177 elem = list_entry_rcu(&nf_hooks[pf][hook], struct nf_hook_ops, list); in nf_hook_slow() 179 verdict = nf_iterate(&nf_hooks[pf][hook], skb, hook, indev, in nf_hook_slow() 189 int err = nf_queue(skb, elem, pf, hook, indev, outdev, okfn, in nf_hook_slow()
|
D | nf_conntrack_proto_udplite.c | 92 u_int8_t pf, in udplite_packet() argument 122 u_int8_t pf, in udplite_error() argument 134 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udplite_error() 144 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udplite_error() 152 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udplite_error() 160 pf)) { in udplite_error() 162 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udplite_error()
|
D | nf_conntrack_proto_udp.c | 84 u_int8_t pf, in udp_packet() argument 112 u_int8_t pf, in udp_error() argument 123 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udp_error() 131 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udp_error() 145 nf_checksum(skb, hooknum, dataoff, IPPROTO_UDP, pf)) { in udp_error() 147 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udp_error()
|
D | nfnetlink_log.c | 399 u_int8_t pf, in __build_packet_message() argument 418 nfmsg->nfgen_family = pf; in __build_packet_message() 439 if (pf == PF_BRIDGE) { in __build_packet_message() 470 if (pf == PF_BRIDGE) { in __build_packet_message() 610 u_int8_t pf, in nfulnl_log_packet() argument 712 __build_packet_message(log, inst, skb, data_len, pf, in nfulnl_log_packet() 805 u_int8_t pf = nfmsg->nfgen_family; in nfulnl_recv_config() local 811 return nf_log_bind_pf(net, pf, &nfulnl_logger); in nfulnl_recv_config() 813 nf_log_unbind_pf(net, pf); in nfulnl_recv_config()
|
D | nf_conntrack_proto_tcp.c | 507 u_int8_t pf) in tcp_in_window() argument 716 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_in_window() 756 u_int8_t pf, in tcp_error() argument 768 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_error() 776 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_error() 787 nf_checksum(skb, hooknum, dataoff, IPPROTO_TCP, pf)) { in tcp_error() 789 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_error() 798 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_error() 816 u_int8_t pf, in tcp_packet() argument 945 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_packet() [all …]
|
/net/sunrpc/auth_gss/ |
D | gss_mech_switch.c | 59 struct pf_desc *pf; in gss_mech_free() local 63 pf = &gm->gm_pfs[i]; in gss_mech_free() 64 kfree(pf->auth_domain_name); in gss_mech_free() 65 pf->auth_domain_name = NULL; in gss_mech_free() 86 struct pf_desc *pf; in gss_mech_svc_setup() local 90 pf = &gm->gm_pfs[i]; in gss_mech_svc_setup() 91 pf->auth_domain_name = make_auth_domain_name(pf->name); in gss_mech_svc_setup() 93 if (pf->auth_domain_name == NULL) in gss_mech_svc_setup() 95 status = svcauth_gss_register_pseudoflavor(pf->pseudoflavor, in gss_mech_svc_setup() 96 pf->auth_domain_name); in gss_mech_svc_setup()
|
/net/bridge/ |
D | br_netfilter.c | 690 u_int8_t pf; in br_nf_forward_ip() local 705 pf = NFPROTO_IPV4; in br_nf_forward_ip() 707 pf = NFPROTO_IPV6; in br_nf_forward_ip() 719 if (pf == NFPROTO_IPV4) { in br_nf_forward_ip() 731 if (pf == NFPROTO_IPV4) in br_nf_forward_ip() 736 NF_HOOK(pf, NF_INET_FORWARD, skb, brnf_get_logical_dev(skb, in), parent, in br_nf_forward_ip() 817 u_int8_t pf; in br_nf_post_routing() local 826 pf = NFPROTO_IPV4; in br_nf_post_routing() 828 pf = NFPROTO_IPV6; in br_nf_post_routing() 841 if (pf == NFPROTO_IPV4) in br_nf_post_routing() [all …]
|
/net/ipv4/netfilter/ |
D | iptable_nat.c | 83 .pf = NFPROTO_IPV4, 91 .pf = NFPROTO_IPV4, 99 .pf = NFPROTO_IPV4, 107 .pf = NFPROTO_IPV4,
|
D | nf_conntrack_l3proto_ipv4.c | 178 .pf = NFPROTO_IPV4, 185 .pf = NFPROTO_IPV4, 192 .pf = NFPROTO_IPV4, 199 .pf = NFPROTO_IPV4, 206 .pf = NFPROTO_IPV4, 213 .pf = NFPROTO_IPV4, 358 .pf = PF_INET,
|
D | nf_defrag_ipv4.c | 100 .pf = NFPROTO_IPV4, 107 .pf = NFPROTO_IPV4,
|
/net/ipv6/netfilter/ |
D | ip6table_nat.c | 85 .pf = NFPROTO_IPV6, 93 .pf = NFPROTO_IPV6, 101 .pf = NFPROTO_IPV6, 109 .pf = NFPROTO_IPV6,
|
D | nf_conntrack_l3proto_ipv6.c | 199 .pf = NFPROTO_IPV6, 206 .pf = NFPROTO_IPV6, 213 .pf = NFPROTO_IPV6, 220 .pf = NFPROTO_IPV6, 227 .pf = NFPROTO_IPV6, 234 .pf = NFPROTO_IPV6, 350 .pf = NFPROTO_IPV6,
|
D | nf_defrag_ipv6_hooks.c | 91 .pf = NFPROTO_IPV6, 98 .pf = NFPROTO_IPV6,
|
/net/sched/ |
D | cls_u32.c | 59 struct tc_u32_pcnt __percpu *pf; member 131 __this_cpu_inc(n->pf->rcnt); in u32_classify() 159 __this_cpu_inc(n->pf->kcnts[j]); in u32_classify() 177 __this_cpu_inc(n->pf->rhit); in u32_classify() 369 free_percpu(n->pf); in u32_destroy_key() 676 new->pf = n->pf; in u32_init_knode() 805 n->pf = __alloc_percpu(size, __alignof__(struct tc_u32_pcnt)); in u32_change() 806 if (!n->pf) { in u32_change() 859 free_percpu(n->pf); in u32_change() 991 struct tc_u32_pcnt *pf = per_cpu_ptr(n->pf, cpu); in u32_dump() local [all …]
|
/net/bridge/netfilter/ |
D | ebtable_nat.c | 81 .pf = NFPROTO_BRIDGE, 88 .pf = NFPROTO_BRIDGE, 95 .pf = NFPROTO_BRIDGE,
|
D | ebtable_filter.c | 81 .pf = NFPROTO_BRIDGE, 88 .pf = NFPROTO_BRIDGE, 95 .pf = NFPROTO_BRIDGE,
|
/net/irda/ |
D | irlap_event.c | 1250 if (!info->pf) { in irlap_state_nrm_p() 1288 if (!info->pf) { in irlap_state_nrm_p() 1321 if (info->pf) { in irlap_state_nrm_p() 1372 if (info->pf) { in irlap_state_nrm_p() 1395 if (info->pf) { in irlap_state_nrm_p() 1417 if (!info->pf) { in irlap_state_nrm_p() 1886 self->vs, info->ns, self->vr, info->pf); in irlap_state_nrm_s() 1906 if (!info->pf) { in irlap_state_nrm_s() 1964 if (!info->pf) { in irlap_state_nrm_s() 1985 if (info->pf) { in irlap_state_nrm_s() [all …]
|