/net/netfilter/ |
D | nf_conntrack_pptp.c | 283 __be16 cid = 0, pcid = 0; in pptp_inbound_pkt() local 318 cid = pptpReq->ocack.callID; in pptp_inbound_pkt() 323 ntohs(cid), ntohs(pcid)); in pptp_inbound_pkt() 327 info->pac_call_id = cid; in pptp_inbound_pkt() 328 exp_gre(ct, cid, pcid); in pptp_inbound_pkt() 338 cid = pptpReq->icreq.callID; in pptp_inbound_pkt() 339 pr_debug("%s, CID=%X\n", pptp_msg_name(msg), ntohs(cid)); in pptp_inbound_pkt() 341 info->pac_call_id = cid; in pptp_inbound_pkt() 353 cid = info->pac_call_id; in pptp_inbound_pkt() 362 exp_gre(ct, cid, pcid); in pptp_inbound_pkt() [all …]
|
/net/sctp/ |
D | debug.c | 48 const char *sctp_cname(const union sctp_subtype cid) in sctp_cname() argument 50 if (cid.chunk <= SCTP_CID_BASE_MAX) in sctp_cname() 51 return sctp_cid_tbl[cid.chunk]; in sctp_cname() 53 switch (cid.chunk) { in sctp_cname()
|
D | sm_statetable.c | 42 enum sctp_cid cid, 967 enum sctp_cid cid, in sctp_chunk_event_lookup() argument 973 if (cid == SCTP_CID_I_DATA) in sctp_chunk_event_lookup() 974 cid = SCTP_CID_DATA; in sctp_chunk_event_lookup() 976 if (cid <= SCTP_CID_BASE_MAX) in sctp_chunk_event_lookup() 977 return &chunk_event_table[cid][state]; in sctp_chunk_event_lookup() 979 switch ((u16)cid) { in sctp_chunk_event_lookup()
|
/net/6lowpan/ |
D | iphc.c | 153 #define LOWPAN_IPHC_CID_DCI(cid) (cid & 0x0f) argument 154 #define LOWPAN_IPHC_CID_SCI(cid) ((cid & 0xf0) >> 4) argument 617 u8 iphc0, iphc1, cid = 0; in lowpan_header_decompress() local 631 if (lowpan_fetch_skb(skb, &cid, sizeof(cid))) in lowpan_header_decompress() 661 ci = lowpan_iphc_ctx_get_by_id(dev, LOWPAN_IPHC_CID_SCI(cid)); in lowpan_header_decompress() 689 ci = lowpan_iphc_ctx_get_by_id(dev, LOWPAN_IPHC_CID_DCI(cid)); in lowpan_header_decompress() 713 ci = lowpan_iphc_ctx_get_by_id(dev, LOWPAN_IPHC_CID_DCI(cid)); in lowpan_header_decompress() 1134 u8 iphc0, iphc1, *hc_ptr, cid = 0; in lowpan_header_compress() local 1173 cid |= dci->id; in lowpan_header_compress() 1181 cid |= (sci->id << 4); in lowpan_header_compress() [all …]
|
/net/rxrpc/ |
D | conn_service.c | 37 k.cid = sp->hdr.cid & RXRPC_CIDMASK; in rxrpc_find_service_conn_rcu() 168 conn->proto.cid = sp->hdr.cid & RXRPC_CIDMASK; in rxrpc_new_incoming_connection() 191 _net("CONNECTION new %d {%x}", conn->debug_id, conn->proto.cid); in rxrpc_new_incoming_connection()
|
D | conn_client.c | 71 conn->proto.cid = id << RXRPC_CIDSHIFT; in rxrpc_get_client_connection_id() 73 _leave(" [CID %x]", conn->proto.cid); in rxrpc_get_client_connection_id() 91 conn->proto.cid >> RXRPC_CIDSHIFT); in rxrpc_put_client_connection_id() 252 id = conn->proto.cid >> RXRPC_CIDSHIFT; in rxrpc_may_reuse_conn() 542 call->cid = conn->proto.cid | channel; in rxrpc_activate_one_channel() 550 call->cid, call->call_id, call->debug_id, conn->debug_id); in rxrpc_activate_one_channel() 767 unsigned int channel = call->cid & RXRPC_CHANNELMASK; in rxrpc_expose_client_call() 808 u32 cid; in rxrpc_disconnect_client_call() local 827 cid = call->cid; in rxrpc_disconnect_client_call() 828 channel = cid & RXRPC_CHANNELMASK; in rxrpc_disconnect_client_call()
|
D | conn_object.c | 81 _enter(",%x", sp->hdr.cid & RXRPC_CIDMASK); in rxrpc_find_connection_rcu() 96 k.cid = sp->hdr.cid & RXRPC_CIDMASK; in rxrpc_find_connection_rcu() 117 sp->hdr.cid >> RXRPC_CIDSHIFT); in rxrpc_find_connection_rcu() 168 &conn->channels[call->cid & RXRPC_CHANNELMASK]; in __rxrpc_disconnect_call() 170 _enter("%d,%x", conn->debug_id, call->cid); in __rxrpc_disconnect_call()
|
D | output.c | 208 pkt->whdr.cid = htonl(call->cid); in rxrpc_send_ack_packet() 317 pkt.whdr.cid = htonl(call->cid); in rxrpc_send_abort_packet() 374 whdr.cid = htonl(call->cid); in rxrpc_send_data_packet() 606 whdr.cid = htonl(sp->hdr.cid); in rxrpc_reject_packets() 649 whdr.cid = 0; in rxrpc_send_keepalive()
|
D | security.c | 123 sp->hdr.cid, sp->hdr.callNumber, sp->hdr.seq, in rxrpc_look_up_server_security() 135 sp->hdr.cid, sp->hdr.callNumber, sp->hdr.seq, in rxrpc_look_up_server_security() 147 sp->hdr.cid, sp->hdr.callNumber, sp->hdr.seq, in rxrpc_look_up_server_security()
|
D | conn_event.c | 77 pkt.whdr.cid = htonl(conn->proto.cid | channel); in rxrpc_conn_retransmit_call() 177 "CON", call->cid, in rxrpc_abort_calls() 231 whdr.cid = htonl(conn->proto.cid); in rxrpc_abort_connection() 311 sp->hdr.cid & RXRPC_CHANNELMASK); in rxrpc_process_event()
|
D | rxkad.c | 129 tmpbuf[1] = htonl(conn->proto.cid); in rxkad_prime_packet_security() 309 x = (call->cid & RXRPC_CHANNELMASK) << (32 - RXRPC_CIDSHIFT); in rxkad_secure_packet() 552 x = (call->cid & RXRPC_CHANNELMASK) << (32 - RXRPC_CIDSHIFT); in rxkad_verify_packet() 671 whdr.cid = htonl(conn->proto.cid); in rxkad_issue_challenge() 731 whdr.cid = htonl(hdr->cid); in rxkad_send_response() 864 resp->encrypted.cid = htonl(conn->proto.cid); in rxkad_respond_to_challenge() 1161 if (ntohl(response->encrypted.cid) != conn->proto.cid) in rxkad_verify_response()
|
D | protocol.h | 25 __be32 cid; /* connection and channel ID */ member 174 __be32 cid; /* parent connection ID */ member
|
D | local_event.c | 48 whdr.cid = htonl(sp->hdr.cid); in rxrpc_send_version_request()
|
D | input.c | 1191 sp->hdr.cid = ntohl(whdr.cid); in rxrpc_extract_header() 1372 channel = sp->hdr.cid & RXRPC_CHANNELMASK; in rxrpc_input_packet() 1447 trace_rxrpc_abort(0, "SEC", sp->hdr.cid, sp->hdr.callNumber, sp->hdr.seq, in rxrpc_input_packet() 1453 trace_rxrpc_abort(0, "INV", sp->hdr.cid, sp->hdr.callNumber, sp->hdr.seq, in rxrpc_input_packet() 1459 trace_rxrpc_abort(0, "UPG", sp->hdr.cid, sp->hdr.callNumber, sp->hdr.seq, in rxrpc_input_packet() 1464 trace_rxrpc_abort(0, "BAD", sp->hdr.cid, sp->hdr.callNumber, sp->hdr.seq, in rxrpc_input_packet()
|
D | proc.c | 107 call->cid, in rxrpc_call_seq_show() 190 conn->proto.cid, in rxrpc_connection_seq_show()
|
D | call_object.c | 416 call->cid = sp->hdr.cid; in rxrpc_incoming_call() 426 chan = sp->hdr.cid & RXRPC_CHANNELMASK; in rxrpc_incoming_call()
|
D | ar-internal.h | 159 u32 cid; /* connection and channel ID */ member 324 u32 cid; /* connection ID */ member 593 u32 cid; /* connection ID plus channel index */ member
|
/net/vmw_vsock/ |
D | vsock_addr.c | 14 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port) in vsock_addr_init() argument 18 addr->svm_cid = cid; in vsock_addr_init()
|
D | af_vsock.c | 482 bool vsock_find_cid(unsigned int cid) in vsock_find_cid() argument 484 if (transport_g2h && cid == transport_g2h->get_local_cid()) in vsock_find_cid() 487 if (transport_h2g && cid == VMADDR_CID_HOST) in vsock_find_cid() 490 if (transport_local && cid == VMADDR_CID_LOCAL) in vsock_find_cid() 2075 u32 cid = VMADDR_CID_ANY; in vsock_dev_do_ioctl() local 2084 cid = transport_g2h->get_local_cid(); in vsock_dev_do_ioctl() 2086 cid = transport_h2g->get_local_cid(); in vsock_dev_do_ioctl() 2088 if (put_user(cid, p) != 0) in vsock_dev_do_ioctl()
|
D | hyperv_transport.c | 561 static bool hvs_dgram_allow(u32 cid, u32 port) in hvs_dgram_allow() argument 717 static bool hvs_stream_allow(u32 cid, u32 port) in hvs_stream_allow() argument 719 if (cid == VMADDR_CID_HOST) in hvs_stream_allow()
|
D | vmci_transport.c | 647 static bool vmci_transport_stream_allow(u32 cid, u32 port) in vmci_transport_stream_allow() argument 654 BUILD_BUG_ON(sizeof(cid) != sizeof(*non_socket_contexts)); in vmci_transport_stream_allow() 657 if (cid == non_socket_contexts[i]) in vmci_transport_stream_allow() 1789 static bool vmci_transport_dgram_allow(u32 cid, u32 port) in vmci_transport_dgram_allow() argument 1791 if (cid == VMADDR_CID_HYPERVISOR) { in vmci_transport_dgram_allow()
|
/net/bluetooth/ |
D | l2cap_core.c | 93 u16 cid) in __l2cap_get_chan_by_dcid() argument 98 if (c->dcid == cid) in __l2cap_get_chan_by_dcid() 105 u16 cid) in __l2cap_get_chan_by_scid() argument 110 if (c->scid == cid) in __l2cap_get_chan_by_scid() 120 u16 cid) in l2cap_get_chan_by_scid() argument 125 c = __l2cap_get_chan_by_scid(conn, cid); in l2cap_get_chan_by_scid() 141 u16 cid) in l2cap_get_chan_by_dcid() argument 146 c = __l2cap_get_chan_by_dcid(conn, cid); in l2cap_get_chan_by_dcid() 268 u16 cid, dyn_end; in l2cap_alloc_cid() local 275 for (cid = L2CAP_CID_DYN_START; cid <= dyn_end; cid++) { in l2cap_alloc_cid() [all …]
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma_recvfrom.c | 121 struct rpc_rdma_cid *cid) in svc_rdma_recv_cid_init() argument 123 cid->ci_queue_id = rdma->sc_rq_cq->res.id; in svc_rdma_recv_cid_init() 124 cid->ci_completion_id = atomic_inc_return(&rdma->sc_completion_ids); in svc_rdma_recv_cid_init()
|
D | svc_rdma_sendto.c | 126 struct rpc_rdma_cid *cid) in svc_rdma_send_cid_init() argument 128 cid->ci_queue_id = rdma->sc_sq_cq->res.id; in svc_rdma_send_cid_init() 129 cid->ci_completion_id = atomic_inc_return(&rdma->sc_completion_ids); in svc_rdma_send_cid_init()
|
D | svc_rdma_rw.c | 156 struct rpc_rdma_cid *cid) in svc_rdma_cc_cid_init() argument 158 cid->ci_queue_id = rdma->sc_sq_cq->res.id; in svc_rdma_cc_cid_init() 159 cid->ci_completion_id = atomic_inc_return(&rdma->sc_completion_ids); in svc_rdma_cc_cid_init()
|