Home
last modified time | relevance | path

Searched refs:pf (Results 1 – 25 of 67) sorted by relevance

123

/net/lapb/
Dlapb_in.c49 lapb->dev, frame->pf); in lapb_state0_machine()
54 lapb->dev, frame->pf); in lapb_state0_machine()
56 lapb_send_control(lapb, LAPB_DM, frame->pf, in lapb_state0_machine()
61 lapb->dev, frame->pf); in lapb_state0_machine()
67 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine()
84 lapb->dev, frame->pf); in lapb_state0_machine()
89 lapb->dev, frame->pf); in lapb_state0_machine()
95 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine()
109 lapb->dev, frame->pf); in lapb_state0_machine()
111 lapb_send_control(lapb, LAPB_DM, frame->pf, in lapb_state0_machine()
[all …]
Dlapb_subr.c164 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/
Dax25_std_in.c43 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
49 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_std_state1_machine()
55 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_std_state1_machine()
59 ax25_send_control(ax25, AX25_DM, pf, AX25_RESPONSE); in ax25_std_state1_machine()
63 if (pf) { in ax25_std_state1_machine()
85 if (pf) { in ax25_std_state1_machine()
107 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
112 ax25_send_control(ax25, AX25_DM, pf, AX25_RESPONSE); in ax25_std_state2_machine()
116 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_std_state2_machine()
122 if (pf) in ax25_std_state2_machine()
[all …]
Dax25_ds_in.c36 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
42 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_ds_state1_machine()
48 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_ds_state1_machine()
52 ax25_send_control(ax25, AX25_DM, pf, AX25_RESPONSE); in ax25_ds_state1_machine()
86 if (pf) in ax25_ds_state1_machine()
91 if (pf) in ax25_ds_state1_machine()
104 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
114 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); in ax25_ds_state2_machine()
121 if (pf) { in ax25_ds_state2_machine()
131 if (pf) { in ax25_ds_state2_machine()
[all …]
Dax25_subr.c100 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/
Dnf_queue.c25 int nf_register_queue_handler(u_int8_t pf, const struct nf_queue_handler *qh) in nf_register_queue_handler() argument
29 if (pf >= ARRAY_SIZE(queue_handler)) in nf_register_queue_handler()
33 if (queue_handler[pf] == qh) in nf_register_queue_handler()
35 else if (queue_handler[pf]) in nf_register_queue_handler()
38 rcu_assign_pointer(queue_handler[pf], qh); in nf_register_queue_handler()
48 int nf_unregister_queue_handler(u_int8_t pf, const struct nf_queue_handler *qh) in nf_unregister_queue_handler() argument
50 if (pf >= ARRAY_SIZE(queue_handler)) in nf_unregister_queue_handler()
54 if (queue_handler[pf] && queue_handler[pf] != qh) { in nf_unregister_queue_handler()
59 rcu_assign_pointer(queue_handler[pf], NULL); in nf_unregister_queue_handler()
70 u_int8_t pf; in nf_unregister_queue_handlers() local
[all …]
Dnf_sockopt.c33 if (ops->pf == reg->pf in nf_register_sockopt()
63 static struct nf_sockopt_ops *nf_sockopt_find(struct sock *sk, u_int8_t pf, in nf_sockopt_find() argument
72 if (ops->pf == pf) { in nf_sockopt_find()
96 static int nf_sockopt(struct sock *sk, u_int8_t pf, int val, in nf_sockopt() argument
102 ops = nf_sockopt_find(sk, pf, val, get); in nf_sockopt()
115 int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, in nf_setsockopt() argument
118 return nf_sockopt(sk, pf, val, opt, &len, 0); in nf_setsockopt()
122 int nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, in nf_getsockopt() argument
125 return nf_sockopt(sk, pf, val, opt, len, 1); in nf_getsockopt()
130 static int compat_nf_sockopt(struct sock *sk, u_int8_t pf, int val, in compat_nf_sockopt() argument
[all …]
Dnf_log.c23 int nf_log_register(u_int8_t pf, const struct nf_logger *logger) in nf_log_register() argument
27 if (pf >= ARRAY_SIZE(nf_loggers)) in nf_log_register()
36 if (!nf_loggers[pf]) in nf_log_register()
37 rcu_assign_pointer(nf_loggers[pf], logger); in nf_log_register()
38 else if (nf_loggers[pf] == logger) in nf_log_register()
48 void nf_log_unregister_pf(u_int8_t pf) in nf_log_unregister_pf() argument
50 if (pf >= ARRAY_SIZE(nf_loggers)) in nf_log_unregister_pf()
53 rcu_assign_pointer(nf_loggers[pf], NULL); in nf_log_unregister_pf()
76 void nf_log_packet(u_int8_t pf, in nf_log_packet() argument
89 logger = rcu_dereference(nf_loggers[pf]); in nf_log_packet()
[all …]
Dnf_conntrack_proto_udplite.c68 u_int8_t pf, in udplite_packet() argument
96 u_int8_t pf, in udplite_error() argument
108 nf_log_packet(pf, 0, skb, NULL, NULL, NULL, in udplite_error()
118 nf_log_packet(pf, 0, skb, NULL, NULL, NULL, in udplite_error()
126 nf_log_packet(pf, 0, skb, NULL, NULL, NULL, in udplite_error()
134 pf)) { in udplite_error()
136 nf_log_packet(pf, 0, skb, NULL, NULL, NULL, in udplite_error()
Dnf_conntrack_proto_udp.c69 u_int8_t pf, in udp_packet() argument
94 u_int8_t pf, in udp_error() argument
105 nf_log_packet(pf, 0, skb, NULL, NULL, NULL, in udp_error()
113 nf_log_packet(pf, 0, skb, NULL, NULL, NULL, in udp_error()
127 nf_checksum(skb, hooknum, dataoff, IPPROTO_UDP, pf)) { in udp_error()
129 nf_log_packet(pf, 0, skb, NULL, NULL, NULL, in udp_error()
Dcore.c66 list_for_each_entry(elem, &nf_hooks[reg->pf][reg->hooknum], list) { in nf_register_hook()
158 int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb, in nf_hook_slow() argument
171 elem = &nf_hooks[pf][hook]; in nf_hook_slow()
173 verdict = nf_iterate(&nf_hooks[pf][hook], skb, hook, indev, in nf_hook_slow()
182 if (!nf_queue(skb, elem, pf, hook, indev, outdev, okfn, in nf_hook_slow()
/net/sunrpc/auth_gss/
Dgss_mech_switch.c58 struct pf_desc *pf; in gss_mech_free() local
62 pf = &gm->gm_pfs[i]; in gss_mech_free()
63 kfree(pf->auth_domain_name); in gss_mech_free()
64 pf->auth_domain_name = NULL; in gss_mech_free()
85 struct pf_desc *pf; in gss_mech_svc_setup() local
89 pf = &gm->gm_pfs[i]; in gss_mech_svc_setup()
90 pf->auth_domain_name = make_auth_domain_name(pf->name); in gss_mech_svc_setup()
92 if (pf->auth_domain_name == NULL) in gss_mech_svc_setup()
94 status = svcauth_gss_register_pseudoflavor(pf->pseudoflavor, in gss_mech_svc_setup()
95 pf->auth_domain_name); in gss_mech_svc_setup()
/net/mac80211/
Drc80211_pid_algo.c150 u32 pf; in rate_control_pid_sample() local
171 pf = spinfo->last_pf; in rate_control_pid_sample()
176 pf = spinfo->tx_num_failed * 100 / spinfo->tx_num_xmit; in rate_control_pid_sample()
178 if (ieee80211_vif_is_mesh(&si->sdata->vif) && pf == 100) in rate_control_pid_sample()
180 pf <<= RC_PID_ARITH_SHIFT; in rate_control_pid_sample()
181 si->fail_avg = ((pf + (spinfo->last_pf << 3)) / 9) in rate_control_pid_sample()
194 tmp = (pf - spinfo->last_pf); in rate_control_pid_sample()
203 err_prop = (pinfo->target << RC_PID_ARITH_SHIFT) - pf; in rate_control_pid_sample()
209 err_der = (pf - spinfo->last_pf) * in rate_control_pid_sample()
211 spinfo->last_pf = pf; in rate_control_pid_sample()
[all …]
/net/bridge/
Dbr_netfilter.c672 u_int8_t pf; in br_nf_forward_ip() local
688 pf = PF_INET; in br_nf_forward_ip()
691 pf = PF_INET6; in br_nf_forward_ip()
707 NF_HOOK(pf, NF_INET_FORWARD, skb, bridge_parent(in), parent, in br_nf_forward_ip()
809 u_int8_t pf; in br_nf_post_routing() local
833 pf = PF_INET; in br_nf_post_routing()
836 pf = PF_INET6; in br_nf_post_routing()
857 NF_HOOK(pf, NF_INET_POST_ROUTING, skb, NULL, realoutdev, in br_nf_post_routing()
899 .pf = PF_BRIDGE,
904 .pf = PF_BRIDGE,
[all …]
/net/ipv6/netfilter/
Dip6table_mangle.c140 .pf = PF_INET6,
147 .pf = PF_INET6,
154 .pf = PF_INET6,
161 .pf = PF_INET6,
168 .pf = PF_INET6,
Dnf_conntrack_l3proto_ipv6.c267 .pf = PF_INET6,
274 .pf = PF_INET6,
281 .pf = PF_INET6,
288 .pf = PF_INET6,
295 .pf = PF_INET6,
302 .pf = PF_INET6,
Dip6table_security.c105 .pf = PF_INET6,
112 .pf = PF_INET6,
119 .pf = PF_INET6,
Dip6table_filter.c99 .pf = PF_INET6,
106 .pf = PF_INET6,
113 .pf = PF_INET6,
/net/ipv4/netfilter/
Diptable_mangle.c166 .pf = PF_INET,
173 .pf = PF_INET,
180 .pf = PF_INET,
187 .pf = PF_INET,
194 .pf = PF_INET,
Darptable_filter.c82 .pf = NFPROTO_ARP,
89 .pf = NFPROTO_ARP,
96 .pf = NFPROTO_ARP,
Diptable_security.c109 .pf = PF_INET,
116 .pf = PF_INET,
123 .pf = PF_INET,
Diptable_filter.c106 .pf = PF_INET,
113 .pf = PF_INET,
120 .pf = PF_INET,
/net/bridge/netfilter/
Debtable_filter.c81 .pf = PF_BRIDGE,
88 .pf = PF_BRIDGE,
95 .pf = PF_BRIDGE,
Debtable_nat.c81 .pf = PF_BRIDGE,
88 .pf = PF_BRIDGE,
95 .pf = PF_BRIDGE,
/net/sched/
Dcls_u32.c57 struct tc_u32_pcnt *pf; member
122 n->pf->rcnt +=1; in u32_classify()
142 n->pf->kcnts[j] +=1; in u32_classify()
158 n->pf->rhit +=1; in u32_classify()
325 kfree(n->pf); in u32_destroy_key()
611 n->pf = kzalloc(sizeof(struct tc_u32_pcnt) + s->nkeys*sizeof(u64), GFP_KERNEL); in u32_change()
612 if (n->pf == NULL) { in u32_change()
649 kfree(n->pf); in u32_change()
738 n->pf); in u32_dump()

123