Searched refs:cp (Results 1 - 25 of 31) sorted by relevance

12

/net/netfilter/ipvs/
H A Dip_vs_conn.c139 static unsigned int ip_vs_conn_hashkey_conn(const struct ip_vs_conn *cp) argument
143 ip_vs_conn_fill_param(ip_vs_conn_net(cp), cp->af, cp->protocol,
144 &cp->caddr, cp->cport, NULL, 0, &p);
146 if (cp->pe) {
147 p.pe = cp->pe;
148 p.pe_data = cp->pe_data;
149 p.pe_data_len = cp
159 ip_vs_conn_hash(struct ip_vs_conn *cp) argument
195 ip_vs_conn_unhash(struct ip_vs_conn *cp) argument
223 ip_vs_conn_unlink(struct ip_vs_conn *cp) argument
261 struct ip_vs_conn *cp; local
290 struct ip_vs_conn *cp; local
346 struct ip_vs_conn *cp; local
398 struct ip_vs_conn *cp, *ret=NULL; local
449 ip_vs_conn_put(struct ip_vs_conn *cp) argument
462 ip_vs_conn_fill_cport(struct ip_vs_conn *cp, __be16 cport) argument
483 ip_vs_bind_xmit(struct ip_vs_conn *cp) argument
509 ip_vs_bind_xmit_v6(struct ip_vs_conn *cp) argument
547 ip_vs_bind_dest(struct ip_vs_conn *cp, struct ip_vs_dest *dest) argument
614 ip_vs_try_bind_dest(struct ip_vs_conn *cp) argument
661 ip_vs_unbind_dest(struct ip_vs_conn *cp) argument
770 struct ip_vs_conn *cp = container_of(head, struct ip_vs_conn, local
780 struct ip_vs_conn *cp = (struct ip_vs_conn *)data; local
837 ip_vs_conn_expire_now(struct ip_vs_conn *cp) argument
856 struct ip_vs_conn *cp; local
965 struct ip_vs_conn *cp; local
997 struct ip_vs_conn *cp = v; local
1038 const struct ip_vs_conn *cp = v; local
1116 const struct ip_vs_conn *cp = v; local
1175 todrop_entry(struct ip_vs_conn *cp) argument
1207 struct ip_vs_conn *cp, *cp_c; local
1266 struct ip_vs_conn *cp, *cp_c; local
[all...]
H A Dip_vs_proto_udp.c128 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph)
136 if (cp->af == AF_INET6 && iph->fragoffs)
145 if (unlikely(cp->app != NULL)) {
149 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp))
155 if (!(ret = ip_vs_app_pkt_out(cp, skb)))
165 udph->source = cp->vport;
171 udp_partial_csum_update(cp->af, udph, &cp->daddr, &cp->vaddr,
176 udp_fast_csum_update(cp
127 udp_snat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) argument
210 udp_dnat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) argument
386 udp_app_conn_bind(struct ip_vs_conn *cp) argument
447 udp_state_transition(struct ip_vs_conn *cp, int direction, const struct sk_buff *skb, struct ip_vs_proto_data *pd) argument
[all...]
H A Dip_vs_nfct.c82 ip_vs_update_conntrack(struct sk_buff *skb, struct ip_vs_conn *cp, int outin) argument
93 if (IP_VS_FWD_METHOD(cp) != IP_VS_CONN_F_MASQ)
111 new_tuple.src.u3 = cp->daddr;
114 new_tuple.src.u.tcp.port = cp->dport;
116 new_tuple.dst.u3 = cp->vaddr;
119 new_tuple.dst.u.tcp.port = cp->vport;
123 ", new reply=" FMT_TUPLE ", cp=" FMT_CONN "\n",
126 ARG_TUPLE(&new_tuple), ARG_CONN(cp));
142 struct ip_vs_conn *cp; local
162 cp
220 ip_vs_nfct_expect_related(struct sk_buff *skb, struct nf_conn *ct, struct ip_vs_conn *cp, u_int8_t proto, const __be16 port, int from_rs) argument
251 ip_vs_conn_drop_conntrack(struct ip_vs_conn *cp) argument
[all...]
H A Dip_vs_proto_tcp.c130 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph)
138 if (cp->af == AF_INET6 && iph->fragoffs)
147 if (unlikely(cp->app != NULL)) {
151 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp))
155 if (!(ret = ip_vs_app_pkt_out(cp, skb)))
165 tcph->source = cp->vport;
169 tcp_partial_csum_update(cp->af, tcph, &cp->daddr, &cp->vaddr,
174 tcp_fast_csum_update(cp
129 tcp_snat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) argument
207 tcp_dnat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) argument
472 set_tcp_state(struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, int direction, struct tcphdr *th) argument
544 tcp_state_transition(struct ip_vs_conn *cp, int direction, const struct sk_buff *skb, struct ip_vs_proto_data *pd) argument
608 tcp_app_conn_bind(struct ip_vs_conn *cp) argument
654 ip_vs_tcp_conn_listen(struct net *net, struct ip_vs_conn *cp) argument
[all...]
H A Dip_vs_ftp.c66 ip_vs_ftp_init_conn(struct ip_vs_app *app, struct ip_vs_conn *cp) argument
69 cp->flags |= IP_VS_CONN_F_NFCT;
75 ip_vs_ftp_done_conn(struct ip_vs_app *app, struct ip_vs_conn *cp) argument
169 static int ip_vs_ftp_out(struct ip_vs_app *app, struct ip_vs_conn *cp, argument
190 if (cp->af == AF_INET6)
197 if (cp->state != IP_VS_TCP_S_ESTABLISHED)
204 if (cp->app_data == &ip_vs_ftp_pasv) {
219 &from.ip, ntohs(port), &cp->caddr.ip, 0);
226 ip_vs_conn_fill_param(ip_vs_conn_net(cp), AF_INET,
228 &cp
312 ip_vs_ftp_in(struct ip_vs_app *app, struct ip_vs_conn *cp, struct sk_buff *skb, int *diff) argument
[all...]
H A Dip_vs_app.c262 * Bind ip_vs_conn to its ip_vs_app (called by cp constructor)
264 int ip_vs_bind_app(struct ip_vs_conn *cp, argument
267 return pp->app_conn_bind(cp);
272 * Unbind cp from application incarnation (called by cp destructor)
274 void ip_vs_unbind_app(struct ip_vs_conn *cp) argument
276 struct ip_vs_app *inc = cp->app;
282 inc->unbind_conn(inc, cp);
284 inc->done_conn(inc, cp);
286 cp
351 vs_seq_update(struct ip_vs_conn *cp, struct ip_vs_seq *vseq, unsigned int flag, __u32 seq, int diff) argument
365 app_tcp_pkt_out(struct ip_vs_conn *cp, struct sk_buff *skb, struct ip_vs_app *app) argument
415 ip_vs_app_pkt_out(struct ip_vs_conn *cp, struct sk_buff *skb) argument
440 app_tcp_pkt_in(struct ip_vs_conn *cp, struct sk_buff *skb, struct ip_vs_app *app) argument
490 ip_vs_app_pkt_in(struct ip_vs_conn *cp, struct sk_buff *skb) argument
[all...]
H A Dip_vs_xmit.c479 struct ip_vs_conn *cp)
484 if (unlikely(cp->flags & IP_VS_CONN_F_NFCT))
495 struct ip_vs_conn *cp, int local)
500 if (likely(!(cp->flags & IP_VS_CONN_F_NFCT)))
503 ip_vs_update_conntrack(skb, cp, 1);
515 struct ip_vs_conn *cp, int local)
520 if (likely(!(cp->flags & IP_VS_CONN_F_NFCT)))
536 ip_vs_null_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, argument
540 return ip_vs_send_or_cont(NFPROTO_IPV4, skb, cp, 1);
550 ip_vs_bypass_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, argument
478 ip_vs_tunnel_xmit_prepare(struct sk_buff *skb, struct ip_vs_conn *cp) argument
494 ip_vs_nat_send_or_cont(int pf, struct sk_buff *skb, struct ip_vs_conn *cp, int local) argument
514 ip_vs_send_or_cont(int pf, struct sk_buff *skb, struct ip_vs_conn *cp, int local) argument
582 ip_vs_bypass_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, struct ip_vs_iphdr *ipvsh) argument
614 ip_vs_nat_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, struct ip_vs_iphdr *ipvsh) argument
704 ip_vs_nat_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, struct ip_vs_iphdr *ipvsh) argument
814 ip_vs_tunnel_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, struct ip_vs_iphdr *ipvsh) argument
911 ip_vs_tunnel_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, struct ip_vs_iphdr *ipvsh) argument
1004 ip_vs_dr_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, struct ip_vs_iphdr *ipvsh) argument
1043 ip_vs_dr_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, struct ip_vs_iphdr *ipvsh) argument
1085 ip_vs_icmp_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, int offset, unsigned int hooknum, struct ip_vs_iphdr *iph) argument
1177 ip_vs_icmp_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, int offset, unsigned int hooknum, struct ip_vs_iphdr *ipvsh) argument
[all...]
H A Dip_vs_proto_sctp.c81 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph)
87 if (cp->af == AF_INET6 && iph->fragoffs)
95 if (unlikely(cp->app != NULL)) {
97 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp))
101 if (!ip_vs_app_pkt_out(cp, skb))
106 sctph->source = cp->vport;
115 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph)
121 if (cp->af == AF_INET6 && iph->fragoffs)
129 if (unlikely(cp->app != NULL)) {
131 if (pp->csum_check && !pp->csum_check(cp
80 sctp_snat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) argument
114 sctp_dnat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) argument
903 set_sctp_state(struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, int direction, const struct sk_buff *skb) argument
994 sctp_state_transition(struct ip_vs_conn *cp, int direction, const struct sk_buff *skb, struct ip_vs_proto_data *pd) argument
1040 sctp_app_conn_bind(struct ip_vs_conn *cp) argument
[all...]
H A Dip_vs_core.c112 ip_vs_in_stats(struct ip_vs_conn *cp, struct sk_buff *skb) argument
114 struct ip_vs_dest *dest = cp->dest;
142 ip_vs_out_stats(struct ip_vs_conn *cp, struct sk_buff *skb) argument
144 struct ip_vs_dest *dest = cp->dest;
172 ip_vs_conn_stats(struct ip_vs_conn *cp, struct ip_vs_service *svc) argument
177 s = this_cpu_ptr(cp->dest->stats.cpustats);
189 ip_vs_set_state(struct ip_vs_conn *cp, int direction, argument
194 pd->pp->state_transition(cp, direction, skb, pd);
225 struct ip_vs_conn *cp = NULL; local
352 cp
397 struct ip_vs_conn *cp = NULL; local
532 struct ip_vs_conn *cp; local
673 ip_vs_nat_icmp(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, int inout) argument
719 ip_vs_nat_icmp_v6(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, int inout) argument
781 handle_response_icmp(int af, struct sk_buff *skb, union nf_inet_addr *snet, __u8 protocol, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, unsigned int offset, unsigned int ihl) argument
846 struct ip_vs_conn *cp; local
920 struct ip_vs_conn *cp; local
1033 handle_response(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) argument
1106 struct ip_vs_conn *cp; local
1296 struct ip_vs_conn *cp; local
1464 struct ip_vs_conn *cp; local
1566 struct ip_vs_conn *cp; local
[all...]
H A Dip_vs_sync.c143 __be32 timeout; /* cp timeout */
165 __be32 timeout; /* cp timeout */
396 select_master_thread_id(struct netns_ipvs *ipvs, struct ip_vs_conn *cp) argument
398 return ((long) cp >> (1 + ilog2(sizeof(*cp)))) & ipvs->threads_mask;
438 struct ip_vs_conn *cp, int pkts)
440 unsigned long orig = ACCESS_ONCE(cp->sync_endtime);
442 unsigned long n = (now + cp->timeout) & ~3UL;
448 if (unlikely(cp->flags & IP_VS_CONN_F_TEMPLATE))
450 else if (likely(cp
437 ip_vs_sync_conn_needed(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, int pkts) argument
514 ip_vs_sync_conn_v0(struct net *net, struct ip_vs_conn *cp, int pkts) argument
611 ip_vs_sync_conn(struct net *net, struct ip_vs_conn *cp, int pkts) argument
833 struct ip_vs_conn *cp; local
[all...]
H A Dip_vs_proto_ah_esp.c63 struct ip_vs_conn *cp; local
68 cp = ip_vs_conn_in_get(&p);
69 if (!cp) {
82 return cp;
90 struct ip_vs_conn *cp; local
95 cp = ip_vs_conn_out_get(&p);
96 if (!cp) {
105 return cp;
H A Dip_vs_pe_sip.c146 static int ip_vs_sip_show_pe_data(const struct ip_vs_conn *cp, char *buf) argument
148 memcpy(buf, cp->pe_data, cp->pe_data_len);
149 return cp->pe_data_len;
/net/bluetooth/
H A Damp.c218 struct hci_cp_read_local_amp_assoc cp; local
223 cp.phy_handle = phy_handle;
224 cp.max_len = cpu_to_le16(hdev->amp_assoc_size);
225 cp.len_so_far = cpu_to_le16(loc_assoc->offset);
227 hci_send_cmd(hdev, HCI_OP_READ_LOCAL_AMP_ASSOC, sizeof(cp), &cp);
232 struct hci_cp_read_local_amp_assoc cp; local
235 memset(&cp, 0, sizeof(cp));
237 cp
246 struct hci_cp_read_local_amp_assoc cp; local
263 struct hci_cp_write_remote_amp_assoc *cp; local
343 struct hci_cp_create_phy_link cp; local
362 struct hci_cp_accept_phy_link cp; local
409 struct hci_cp_create_accept_logical_link cp; local
450 struct hci_cp_disconn_logical_link cp; local
[all...]
H A Dhci_conn.c37 struct hci_cp_le_create_conn cp; local
44 memset(&cp, 0, sizeof(cp));
45 cp.scan_interval = __constant_cpu_to_le16(0x0060);
46 cp.scan_window = __constant_cpu_to_le16(0x0030);
47 bacpy(&cp.peer_addr, &conn->dst);
48 cp.peer_addr_type = conn->dst_type;
49 cp.conn_interval_min = __constant_cpu_to_le16(0x0028);
50 cp.conn_interval_max = __constant_cpu_to_le16(0x0038);
51 cp
67 struct hci_cp_create_conn cp; local
109 struct hci_cp_create_conn_cancel cp; local
122 struct hci_cp_reject_sync_conn_req cp; local
132 struct hci_cp_disconnect cp; local
145 struct hci_cp_disconn_phy_link cp; local
160 struct hci_cp_add_sco cp; local
178 struct hci_cp_setup_sync_conn cp; local
202 struct hci_cp_le_conn_update cp; local
222 struct hci_cp_le_start_enc cp; local
320 struct hci_cp_sniff_subrate cp; local
329 struct hci_cp_sniff_mode cp; local
664 struct hci_cp_auth_requested cp; local
685 struct hci_cp_set_conn_encrypt cp; local
770 struct hci_cp_change_conn_link_key cp; local
788 struct hci_cp_switch_role cp; local
815 struct hci_cp_exit_sniff_mode cp; local
[all...]
H A Dmgmt.c600 struct hci_cp_write_eir cp; local
614 memset(&cp, 0, sizeof(cp));
616 create_eir(hdev, cp.data);
618 if (memcmp(cp.data, hdev->eir, sizeof(cp.data)) == 0)
621 memcpy(hdev->eir, cp.data, sizeof(cp.data));
623 hci_req_add(req, HCI_OP_WRITE_EIR, sizeof(cp), &cp);
807 struct mgmt_mode *cp = data; local
901 struct mgmt_cp_set_discoverable *cp = data; local
1057 struct mgmt_mode *cp = data; local
1151 struct mgmt_mode *cp = data; local
1181 struct mgmt_mode *cp = data; local
1249 struct mgmt_mode *cp = data; local
1316 struct mgmt_mode *cp = data; local
1338 struct mgmt_mode *cp = data; local
1481 struct mgmt_cp_add_uuid *cp = data; local
1561 struct mgmt_cp_remove_uuid *cp = data; local
1646 struct mgmt_cp_set_dev_class *cp = data; local
1717 struct mgmt_cp_load_link_keys *cp = data; local
1787 struct mgmt_cp_unpair_device *cp = data; local
1866 struct mgmt_cp_disconnect *cp = data; local
2005 send_pin_code_neg_reply(struct sock *sk, struct hci_dev *hdev, struct mgmt_cp_pin_code_neg_reply *cp) argument
2028 struct mgmt_cp_pin_code_reply *cp = data; local
2087 struct mgmt_cp_set_io_capability *cp = data; local
2175 struct mgmt_cp_pair_device *cp = data; local
2359 struct hci_cp_user_passkey_reply cp; local
2379 struct mgmt_cp_pin_code_neg_reply *cp = data; local
2391 struct mgmt_cp_user_confirm_reply *cp = data; local
2407 struct mgmt_cp_user_confirm_neg_reply *cp = data; local
2419 struct mgmt_cp_user_passkey_reply *cp = data; local
2431 struct mgmt_cp_user_passkey_neg_reply *cp = data; local
2443 struct hci_cp_write_local_name cp; local
2452 struct mgmt_cp_set_local_name *cp; local
2481 struct mgmt_cp_set_local_name *cp = data; local
2590 struct mgmt_cp_add_remote_oob_data *cp = data; local
2615 struct mgmt_cp_remove_remote_oob_data *cp = data; local
2656 struct mgmt_cp_start_discovery *cp = data; local
2748 struct hci_cp_remote_name_req_cancel cp; local
2822 struct mgmt_cp_confirm_name *cp = data; local
2862 struct mgmt_cp_block_device *cp = data; local
2892 struct mgmt_cp_unblock_device *cp = data; local
2922 struct mgmt_cp_set_device_id *cp = data; local
2969 struct mgmt_mode *cp = cmd->param; local
2989 struct mgmt_mode *cp = data; local
3064 struct mgmt_cp_load_long_term_keys *cp = cp_data; local
3170 u8 *cp; local
3357 struct hci_cp_write_le_host_supported cp; local
3574 struct mgmt_cp_disconnect *cp = cmd->param; local
3593 struct mgmt_cp_unpair_device *cp = cmd->param; local
3872 struct hci_cp_write_eir cp; local
[all...]
H A Dhci_event.c755 struct hci_cp_pin_code_reply *cp; local
768 cp = hci_sent_cmd_data(hdev, HCI_OP_PIN_CODE_REPLY);
769 if (!cp)
772 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr);
774 conn->pin_length = cp->pin_len;
957 struct hci_cp_le_set_scan_enable *cp; local
962 cp = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_SCAN_ENABLE);
963 if (!cp)
966 switch (cp->enable) {
1004 BT_ERR("Used reserved LE_Scan_Enable param %d", cp
1096 struct hci_cp_create_conn *cp; local
1136 struct hci_cp_add_sco *cp; local
1171 struct hci_cp_auth_requested *cp; local
1198 struct hci_cp_set_conn_encrypt *cp; local
1244 struct hci_cp_remote_name_req cp; local
1321 struct hci_cp_remote_name_req *cp; local
1349 struct hci_cp_auth_requested cp; local
1360 struct hci_cp_read_remote_features *cp; local
1387 struct hci_cp_read_remote_ext_features *cp; local
1414 struct hci_cp_setup_sync_conn *cp; local
1449 struct hci_cp_sniff_mode *cp; local
1476 struct hci_cp_exit_sniff_mode *cp; local
1503 struct hci_cp_disconnect *cp; local
1552 struct hci_cp_create_phy_link *cp; local
1577 struct hci_cp_accept_phy_link *cp; local
1715 struct hci_cp_read_remote_features cp; local
1723 struct hci_cp_change_conn_ptype cp; local
1802 struct hci_cp_accept_conn_req cp; local
1816 struct hci_cp_accept_sync_conn_req cp; local
1836 struct hci_cp_reject_conn_req cp; local
1931 struct hci_cp_set_conn_encrypt cp; local
1951 struct hci_cp_set_conn_encrypt cp; local
1996 struct hci_cp_auth_requested cp; local
2092 struct hci_cp_read_remote_ext_features cp; local
2101 struct hci_cp_remote_name_req cp; local
2678 struct hci_cp_link_key_reply cp; local
2927 struct hci_cp_remote_name_req cp; local
3134 struct hci_cp_io_capability_reply cp; local
3153 struct hci_cp_io_capability_neg_reply cp; local
3392 struct hci_cp_remote_oob_data_reply cp; local
3401 struct hci_cp_remote_oob_data_neg_reply cp; local
3605 struct hci_cp_le_ltk_reply cp; local
[all...]
H A Dsmp.c374 struct smp_cmd_pairing_confirm cp; local
402 swap128(res, cp.confirm_val);
403 smp_send_cmd(smp->conn, SMP_CMD_PAIRING_CONFIRM, sizeof(cp), &cp);
736 struct smp_cmd_pairing cp; local
754 memset(&cp, 0, sizeof(cp));
755 build_pairing_cmd(conn, &cp, NULL, rp->auth_req);
758 memcpy(&smp->preq[1], &cp, sizeof(cp));
796 struct smp_cmd_pairing cp; local
804 struct smp_cmd_security_req cp; local
[all...]
H A Dhci_core.c525 struct hci_cp_write_eir cp; local
528 memset(&cp, 0, sizeof(cp));
530 hci_req_add(req, HCI_OP_WRITE_EIR, sizeof(cp), &cp);
541 struct hci_cp_read_local_ext_features cp; local
543 cp.page = 0x01;
545 sizeof(cp), &cp);
558 struct hci_cp_write_def_link_policy cp; local
577 struct hci_cp_write_le_host_supported cp; local
602 struct hci_cp_delete_stored_link_key cp; local
620 struct hci_cp_read_local_ext_features cp; local
928 struct hci_cp_inquiry cp; local
1084 struct hci_cp_le_set_adv_data cp; local
1997 struct hci_cp_le_set_scan_param cp; local
2009 struct hci_cp_le_set_scan_enable cp; local
2060 struct hci_cp_le_set_scan_enable cp; local
2074 struct hci_cp_le_set_scan_enable cp; local
3558 struct hci_cp_inquiry cp; local
[all...]
H A Dsco.c681 struct hci_cp_accept_conn_req cp; local
683 bacpy(&cp.bdaddr, &conn->dst);
686 cp.role = 0x00; /* Become master */
688 cp.role = 0x01; /* Remain slave */
690 hci_send_cmd(hdev, HCI_OP_ACCEPT_CONN_REQ, sizeof(cp), &cp);
692 struct hci_cp_accept_sync_conn_req cp; local
694 bacpy(&cp.bdaddr, &conn->dst);
695 cp.pkt_type = cpu_to_le16(conn->pkt_type);
697 cp
[all...]
/net/dns_resolver/
H A Ddns_query.c77 char *desc, *cp; local
106 cp = desc;
108 memcpy(cp, type, typelen);
109 cp += typelen;
110 *cp++ = ':';
112 memcpy(cp, name, namelen);
113 cp += namelen;
114 *cp = '\0';
/net/sched/
H A Dcls_tcindex.c208 struct tcindex_data cp; local
216 memcpy(&cp, p, sizeof(cp));
225 cp.hash = nla_get_u32(tb[TCA_TCINDEX_HASH]);
228 cp.mask = nla_get_u16(tb[TCA_TCINDEX_MASK]);
231 cp.shift = nla_get_u32(tb[TCA_TCINDEX_SHIFT]);
237 if (cp.perfect) {
238 if (!valid_perfect_hash(&cp) ||
239 cp.hash > cp
[all...]
/net/netfilter/
H A Dxt_ipvs.c55 struct ip_vs_conn *cp; local
88 cp = pp->conn_out_get(family, skb, &iph, 1 /* inverse */);
89 if (unlikely(cp == NULL)) {
100 if ((cp->vport == data->vport) ^
107 if ((cp->control != NULL &&
108 cp->control->vport == data->vportctl) ^
131 if (((cp->flags & IP_VS_CONN_F_FWD_MASK) == data->fwd_method) ^
138 if (ipvs_mt_addrcmp(&cp->vaddr, &data->vaddr,
147 __ip_vs_conn_put(cp);
/net/can/
H A Daf_can.c120 const struct can_proto *cp; local
123 cp = rcu_dereference(proto_tab[protocol]);
124 if (cp && !try_module_get(cp->prot->owner))
125 cp = NULL;
128 return cp;
131 static inline void can_put_proto(const struct can_proto *cp) argument
133 module_put(cp->prot->owner);
140 const struct can_proto *cp; local
151 cp
743 can_proto_register(const struct can_proto *cp) argument
778 can_proto_unregister(const struct can_proto *cp) argument
[all...]
/net/ethernet/
H A Deth.c408 char *cp = buf; local
411 cp += scnprintf(cp, buflen - (cp - buf), "%02x", addr[i]);
414 cp += scnprintf(cp, buflen - (cp - buf), ":");
416 return cp - buf;
/net/ipv4/
H A Dipconfig.c1344 char *cp, *cq; local
1346 cp = cq = name;
1348 while (*cp >= '0' && *cp <= '9')
1349 cp++;
1350 if (cp == cq || cp - cq > 3)
1352 if (*cp == '.' || octets == 3)
1355 cp++;
1356 cq = cp;
1587 char *cp, *ip, *dp; local
[all...]

Completed in 306 milliseconds

12