Home
last modified time | relevance | path

Searched refs:cid (Results 1 – 20 of 20) sorted by relevance

/net/netfilter/
Dnf_conntrack_pptp.c276 __be16 cid = 0, pcid = 0; in pptp_inbound_pkt() local
311 cid = pptpReq->ocack.callID; in pptp_inbound_pkt()
316 ntohs(cid), ntohs(pcid)); in pptp_inbound_pkt()
320 info->pac_call_id = cid; in pptp_inbound_pkt()
321 exp_gre(ct, cid, pcid); in pptp_inbound_pkt()
331 cid = pptpReq->icreq.callID; in pptp_inbound_pkt()
332 pr_debug("%s, CID=%X\n", pptp_msg_name[msg], ntohs(cid)); in pptp_inbound_pkt()
334 info->pac_call_id = cid; in pptp_inbound_pkt()
346 cid = info->pac_call_id; in pptp_inbound_pkt()
355 exp_gre(ct, cid, pcid); in pptp_inbound_pkt()
[all …]
/net/sctp/
Ddebug.c74 const char *sctp_cname(const sctp_subtype_t cid) in sctp_cname() argument
76 if (cid.chunk <= SCTP_CID_BASE_MAX) in sctp_cname()
77 return sctp_cid_tbl[cid.chunk]; in sctp_cname()
79 switch (cid.chunk) { in sctp_cname()
Dsm_statetable.c63 sctp_cid_t cid,
912 sctp_cid_t cid, in sctp_chunk_event_lookup() argument
918 if (cid <= SCTP_CID_BASE_MAX) in sctp_chunk_event_lookup()
919 return &chunk_event_table[cid][state]; in sctp_chunk_event_lookup()
922 if (cid == SCTP_CID_FWD_TSN) in sctp_chunk_event_lookup()
927 if (cid == SCTP_CID_ASCONF) in sctp_chunk_event_lookup()
930 if (cid == SCTP_CID_ASCONF_ACK) in sctp_chunk_event_lookup()
935 if (cid == SCTP_CID_AUTH) in sctp_chunk_event_lookup()
Dsm_make_chunk.c2092 sctp_cid_t cid, in sctp_verify_param() argument
2199 ntohs(param.p->type), cid); in sctp_verify_param()
2208 sctp_cid_t cid, in sctp_verify_init() argument
2247 if ((SCTP_CID_INIT_ACK == cid) && !has_cookie) in sctp_verify_init()
2254 result = sctp_verify_param(net, asoc, param, cid, chunk, errp); in sctp_verify_init()
/net/rxrpc/
Dar-connection.c268 conn->cid = htonl(real_conn_id); in rxrpc_assign_connection_id()
270 _leave(" [CONNID %x CID %x]", real_conn_id, ntohl(conn->cid)); in rxrpc_assign_connection_id()
358 conn->cid = 0; in rxrpc_connect_exclusive()
401 call->cid = conn->cid | htonl(chan); in rxrpc_connect_exclusive()
533 candidate->cid = 0; in rxrpc_connect_call()
590 call->cid = conn->cid | htonl(chan); in rxrpc_connect_call()
631 conn_id = ntohl(hdr->cid) & RXRPC_CIDMASK; in rxrpc_incoming_connection()
665 candidate->cid = hdr->cid & cpu_to_be32(RXRPC_CIDMASK); in rxrpc_incoming_connection()
755 _enter(",{%x,%x}", ntohl(hdr->cid), hdr->flags); in rxrpc_find_connection()
759 conn_id = ntohl(hdr->cid) & RXRPC_CIDMASK; in rxrpc_find_connection()
Dar-connevent.c93 hdr.cid = conn->cid; in rxrpc_abort_connection()
385 hdr.cid = sp->hdr.cid; in rxrpc_reject_packets()
Dar-proc.c78 ntohl(call->conn->cid), in rxrpc_call_seq_show()
161 ntohl(conn->cid), in rxrpc_connection_seq_show()
Drxkad.c136 tmpbuf.x[1] = conn->cid; in rxkad_prime_packet_security()
596 hdr.cid = conn->cid; in rxkad_issue_challenge()
790 resp.encrypted.cid = conn->cid; in rxkad_respond_to_challenge()
1063 if (response.encrypted.cid != conn->cid) in rxkad_verify_response()
Dar-call.c265 candidate->cid = hdr->cid; in rxrpc_incoming_call()
267 candidate->channel = ntohl(hdr->cid) & RXRPC_CHANNELMASK; in rxrpc_incoming_call()
Dar-ack.c864 hdr.cid = call->cid; in rxrpc_process_call()
1279 ntohl(call->conn->cid)); in rxrpc_process_call()
1297 _debug("jumpstart %x", ntohl(call->conn->cid)); in rxrpc_process_call()
Dar-internal.h286 __be32 cid; /* connection ID */ member
400 __be32 cid; /* connection ID + channel index */ member
Dar-output.c682 sp->hdr.cid = call->cid; in rxrpc_send_data()
Dar-input.c544 call = conn->channels[ntohl(sp->hdr.cid) & RXRPC_CHANNELMASK]; in rxrpc_post_packet_to_call()
740 ntohl(sp->hdr.cid), in rxrpc_data_ready()
/net/vmw_vsock/
Dvsock_addr.c23 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port) in vsock_addr_init() argument
27 addr->svm_cid = cid; in vsock_addr_init()
Daf_vsock.h107 bool (*dgram_allow)(u32 cid, u32 port);
119 bool (*stream_allow)(u32 cid, u32 port);
Dvsock_addr.h21 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port);
Dvmci_transport.c639 static bool vmci_transport_stream_allow(u32 cid, u32 port) in vmci_transport_stream_allow() argument
646 BUILD_BUG_ON(sizeof(cid) != sizeof(*non_socket_contexts)); in vmci_transport_stream_allow()
649 if (cid == non_socket_contexts[i]) in vmci_transport_stream_allow()
1798 static bool vmci_transport_dgram_allow(u32 cid, u32 port) in vmci_transport_dgram_allow() argument
1800 if (cid == VMADDR_CID_HYPERVISOR) { in vmci_transport_dgram_allow()
Daf_vsock.c534 u32 cid; in __vsock_bind() local
546 cid = transport->get_local_cid(); in __vsock_bind()
547 if (addr->svm_cid != cid && addr->svm_cid != VMADDR_CID_ANY) in __vsock_bind()
/net/bluetooth/
Dl2cap_core.c64 u16 cid) in __l2cap_get_chan_by_dcid() argument
69 if (c->dcid == cid) in __l2cap_get_chan_by_dcid()
76 u16 cid) in __l2cap_get_chan_by_scid() argument
81 if (c->scid == cid) in __l2cap_get_chan_by_scid()
90 u16 cid) in l2cap_get_chan_by_scid() argument
95 c = __l2cap_get_chan_by_scid(conn, cid); in l2cap_get_chan_by_scid()
107 u16 cid) in l2cap_get_chan_by_dcid() argument
112 c = __l2cap_get_chan_by_dcid(conn, cid); in l2cap_get_chan_by_dcid()
203 u16 cid = L2CAP_CID_DYN_START; in l2cap_alloc_cid() local
205 for (; cid < L2CAP_CID_DYN_END; cid++) { in l2cap_alloc_cid()
[all …]
Dsmp.c170 lh->cid = __constant_cpu_to_le16(L2CAP_CID_SMP); in smp_build_cmd()