/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 | 162 frame->pf = skb->data[1] & LAPB_EPF; in lapb_decode() 174 frame->pf = skb->data[1] & LAPB_EPF; in lapb_decode() 183 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode() 196 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode() 203 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode() 209 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_log.c | 24 static struct nf_logger *__find_logger(int pf, const char *str_logger) in __find_logger() argument 30 if (loggers[pf][i] == NULL) in __find_logger() 33 log = nft_log_dereference(loggers[pf][i]); in __find_logger() 41 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set() argument 45 if (pf == NFPROTO_UNSPEC || pf >= ARRAY_SIZE(net->nf.nf_loggers)) in nf_log_set() 49 log = nft_log_dereference(net->nf.nf_loggers[pf]); in nf_log_set() 51 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_set() 76 int nf_log_register(u_int8_t pf, struct nf_logger *logger) in nf_log_register() argument 81 if (pf >= ARRAY_SIZE(init_net.nf.nf_loggers)) in nf_log_register() 86 if (pf == NFPROTO_UNSPEC) { in nf_log_register() [all …]
|
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_conntrack_proto_udplite.c | 94 u_int8_t pf, in udplite_packet() argument 124 u_int8_t pf, in udplite_error() argument 136 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udplite_error() 146 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udplite_error() 154 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udplite_error() 162 pf)) { in udplite_error() 164 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udplite_error()
|
D | nf_conntrack_proto_udp.c | 85 u_int8_t pf, in udp_packet() argument 113 u_int8_t pf, in udp_error() argument 124 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udp_error() 132 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udp_error() 146 nf_checksum(skb, hooknum, dataoff, IPPROTO_UDP, pf)) { in udp_error() 148 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in udp_error()
|
D | core.c | 70 if (reg->pf != NFPROTO_NETDEV) in nf_hook_entry_head() 71 return net->nf.hooks[reg->pf]+reg->hooknum; in nf_hook_entry_head() 87 if (reg->pf == NFPROTO_NETDEV) { in nf_register_net_hook() 122 if (reg->pf == NFPROTO_NETDEV && reg->hooknum == NF_NETDEV_INGRESS) in nf_register_net_hook() 126 static_key_slow_inc(&nf_hooks_needed[reg->pf][reg->hooknum]); in nf_register_net_hook() 155 if (reg->pf == NFPROTO_NETDEV && reg->hooknum == NF_NETDEV_INGRESS) in nf_unregister_net_hook() 159 static_key_slow_dec(&nf_hooks_needed[reg->pf][reg->hooknum]); in nf_unregister_net_hook()
|
D | nf_conntrack_proto_tcp.c | 505 u_int8_t pf) in tcp_in_window() argument 714 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_in_window() 754 u_int8_t pf, in tcp_error() argument 766 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_error() 774 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_error() 785 nf_checksum(skb, hooknum, dataoff, IPPROTO_TCP, pf)) { in tcp_error() 787 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_error() 796 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_error() 814 u_int8_t pf, in tcp_packet() argument 953 nf_log_packet(net, pf, 0, skb, NULL, NULL, NULL, in tcp_packet() [all …]
|
D | nfnetlink_log.c | 396 u_int8_t pf, in __build_packet_message() argument 417 nfmsg->nfgen_family = pf; in __build_packet_message() 438 if (pf == PF_BRIDGE) { in __build_packet_message() 475 if (pf == PF_BRIDGE) { in __build_packet_message() 621 u_int8_t pf, in nfulnl_log_packet() argument 738 __build_packet_message(log, inst, skb, data_len, pf, in nfulnl_log_packet() 830 u_int8_t pf = nfmsg->nfgen_family; in nfulnl_recv_config() local 836 return nf_log_bind_pf(net, pf, &nfulnl_logger); in nfulnl_recv_config() 838 nf_log_unbind_pf(net, pf); in nfulnl_recv_config()
|
/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_hooks.c | 566 u_int8_t pf; in br_nf_forward_ip() local 585 pf = NFPROTO_IPV4; in br_nf_forward_ip() 587 pf = NFPROTO_IPV6; in br_nf_forward_ip() 598 if (pf == NFPROTO_IPV4) { in br_nf_forward_ip() 604 if (pf == NFPROTO_IPV6) { in br_nf_forward_ip() 611 if (pf == NFPROTO_IPV4) in br_nf_forward_ip() 616 NF_HOOK(pf, NF_INET_FORWARD, state->net, NULL, skb, in br_nf_forward_ip() 788 u_int8_t pf; in br_nf_post_routing() local 802 pf = NFPROTO_IPV4; in br_nf_post_routing() 804 pf = NFPROTO_IPV6; in br_nf_post_routing() [all …]
|
/net/ipv6/netfilter/ |
D | ip6table_nat.c | 76 .pf = NFPROTO_IPV6, 83 .pf = NFPROTO_IPV6, 90 .pf = NFPROTO_IPV6, 97 .pf = NFPROTO_IPV6,
|
D | nf_conntrack_l3proto_ipv6.c | 190 .pf = NFPROTO_IPV6, 196 .pf = NFPROTO_IPV6, 202 .pf = NFPROTO_IPV6, 208 .pf = NFPROTO_IPV6, 214 .pf = NFPROTO_IPV6, 220 .pf = NFPROTO_IPV6, 338 .pf = NFPROTO_IPV6,
|
D | nf_defrag_ipv6_hooks.c | 78 .pf = NFPROTO_IPV6, 84 .pf = NFPROTO_IPV6,
|
/net/ipv4/netfilter/ |
D | iptable_nat.c | 74 .pf = NFPROTO_IPV4, 81 .pf = NFPROTO_IPV4, 88 .pf = NFPROTO_IPV4, 95 .pf = NFPROTO_IPV4,
|
D | nf_conntrack_l3proto_ipv4.c | 173 .pf = NFPROTO_IPV4, 179 .pf = NFPROTO_IPV4, 185 .pf = NFPROTO_IPV4, 191 .pf = NFPROTO_IPV4, 197 .pf = NFPROTO_IPV4, 203 .pf = NFPROTO_IPV4, 311 .pf = PF_INET,
|
D | nf_defrag_ipv4.c | 93 .pf = NFPROTO_IPV4, 99 .pf = NFPROTO_IPV4,
|
D | nf_log_arp.c | 80 static void nf_log_arp_packet(struct net *net, u_int8_t pf, in nf_log_arp_packet() argument 98 nf_log_dump_packet_common(m, pf, hooknum, skb, in, out, loginfo, in nf_log_arp_packet()
|
/net/bridge/netfilter/ |
D | ebtable_nat.c | 76 .pf = NFPROTO_BRIDGE, 82 .pf = NFPROTO_BRIDGE, 88 .pf = NFPROTO_BRIDGE,
|
D | ebtable_filter.c | 76 .pf = NFPROTO_BRIDGE, 82 .pf = NFPROTO_BRIDGE, 88 .pf = NFPROTO_BRIDGE,
|
/net/sched/ |
D | cls_u32.c | 60 struct tc_u32_pcnt __percpu *pf; member 134 __this_cpu_inc(n->pf->rcnt); in u32_classify() 167 __this_cpu_inc(n->pf->kcnts[j]); in u32_classify() 185 __this_cpu_inc(n->pf->rhit); in u32_classify() 370 free_percpu(n->pf); in u32_destroy_key() 823 new->pf = n->pf; in u32_init_knode() 977 n->pf = __alloc_percpu(size, __alignof__(struct tc_u32_pcnt)); in u32_change() 978 if (!n->pf) { in u32_change() 1040 free_percpu(n->pf); in u32_change() 1175 struct tc_u32_pcnt *pf = per_cpu_ptr(n->pf, cpu); in u32_dump() local [all …]
|
/net/irda/ |
D | irlap_event.c | 1243 if (!info->pf) { in irlap_state_nrm_p() 1281 if (!info->pf) { in irlap_state_nrm_p() 1313 if (info->pf) { in irlap_state_nrm_p() 1364 if (info->pf) { in irlap_state_nrm_p() 1387 if (info->pf) { in irlap_state_nrm_p() 1409 if (!info->pf) { in irlap_state_nrm_p() 1875 self->vs, info->ns, self->vr, info->pf); in irlap_state_nrm_s() 1895 if (!info->pf) { in irlap_state_nrm_s() 1953 if (!info->pf) { in irlap_state_nrm_s() 1974 if (info->pf) { in irlap_state_nrm_s() [all …]
|