/net/netfilter/ |
D | nf_conntrack_pptp.c | 272 __be16 cid = 0, pcid = 0; in pptp_inbound_pkt() local 307 cid = pptpReq->ocack.callID; in pptp_inbound_pkt() 312 ntohs(cid), ntohs(pcid)); in pptp_inbound_pkt() 316 info->pac_call_id = cid; in pptp_inbound_pkt() 317 exp_gre(ct, cid, pcid); in pptp_inbound_pkt() 327 cid = pptpReq->icreq.callID; in pptp_inbound_pkt() 328 pr_debug("%s, CID=%X\n", pptp_msg_name[msg], ntohs(cid)); in pptp_inbound_pkt() 330 info->pac_call_id = cid; in pptp_inbound_pkt() 342 cid = info->pac_call_id; in pptp_inbound_pkt() 351 exp_gre(ct, cid, pcid); in pptp_inbound_pkt() [all …]
|
/net/sctp/ |
D | debug.c | 74 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()
|
D | sm_statetable.c | 60 static const sctp_sm_table_entry_t *sctp_chunk_event_lookup(sctp_cid_t cid, 985 static const sctp_sm_table_entry_t *sctp_chunk_event_lookup(sctp_cid_t cid, in sctp_chunk_event_lookup() argument 991 if (cid <= SCTP_CID_BASE_MAX) in sctp_chunk_event_lookup() 992 return &chunk_event_table[cid][state]; in sctp_chunk_event_lookup() 995 if (cid == SCTP_CID_FWD_TSN) in sctp_chunk_event_lookup() 1000 if (cid == SCTP_CID_ASCONF) in sctp_chunk_event_lookup() 1003 if (cid == SCTP_CID_ASCONF_ACK) in sctp_chunk_event_lookup() 1008 if (cid == SCTP_CID_AUTH) in sctp_chunk_event_lookup()
|
D | sm_make_chunk.c | 1996 sctp_cid_t cid, in sctp_verify_param() argument 2103 ntohs(param.p->type), cid); in sctp_verify_param() 2112 sctp_cid_t cid, in sctp_verify_init() argument 2151 if ((SCTP_CID_INIT_ACK == cid) && !has_cookie) in sctp_verify_init() 2158 result = sctp_verify_param(asoc, param, cid, chunk, errp); in sctp_verify_init() 2179 int sctp_process_init(struct sctp_association *asoc, sctp_cid_t cid, in sctp_process_init() argument
|
/net/rxrpc/ |
D | ar-connection.c | 267 conn->cid = htonl(real_conn_id); in rxrpc_assign_connection_id() 269 _leave(" [CONNID %x CID %x]", real_conn_id, ntohl(conn->cid)); in rxrpc_assign_connection_id() 357 conn->cid = 0; in rxrpc_connect_exclusive() 400 call->cid = conn->cid | htonl(chan); in rxrpc_connect_exclusive() 522 candidate->cid = 0; in rxrpc_connect_call() 579 call->cid = conn->cid | htonl(chan); in rxrpc_connect_call() 620 conn_id = ntohl(hdr->cid) & RXRPC_CIDMASK; in rxrpc_incoming_connection() 654 candidate->cid = hdr->cid & cpu_to_be32(RXRPC_CIDMASK); in rxrpc_incoming_connection() 744 _enter(",{%x,%x}", ntohl(hdr->cid), hdr->flags); in rxrpc_find_connection() 748 conn_id = ntohl(hdr->cid) & RXRPC_CIDMASK; in rxrpc_find_connection()
|
D | ar-connevent.c | 93 hdr.cid = conn->cid; in rxrpc_abort_connection() 383 hdr.cid = sp->hdr.cid; in rxrpc_reject_packets()
|
D | ar-proc.c | 78 ntohl(call->conn->cid), in rxrpc_call_seq_show() 161 ntohl(conn->cid), in rxrpc_connection_seq_show()
|
D | rxkad.c | 134 tmpbuf.x[1] = conn->cid; in rxkad_prime_packet_security() 594 hdr.cid = conn->cid; in rxkad_issue_challenge() 788 resp.encrypted.cid = conn->cid; in rxkad_respond_to_challenge() 1061 if (response.encrypted.cid != conn->cid) in rxkad_verify_response()
|
D | ar-call.c | 264 candidate->cid = hdr->cid; in rxrpc_incoming_call() 266 candidate->channel = ntohl(hdr->cid) & RXRPC_CHANNELMASK; in rxrpc_incoming_call()
|
D | ar-ack.c | 862 hdr.cid = call->cid; in rxrpc_process_call() 1277 ntohl(call->conn->cid)); in rxrpc_process_call() 1295 _debug("jumpstart %x", ntohl(call->conn->cid)); in rxrpc_process_call()
|
D | ar-internal.h | 286 __be32 cid; /* connection ID */ member 400 __be32 cid; /* connection ID + channel index */ member
|
D | ar-output.c | 680 sp->hdr.cid = call->cid; in rxrpc_send_data()
|
D | ar-input.c | 542 call = conn->channels[ntohl(sp->hdr.cid) & RXRPC_CHANNELMASK]; in rxrpc_post_packet_to_call() 738 ntohl(sp->hdr.cid), in rxrpc_data_ready()
|
/net/bluetooth/ |
D | l2cap.c | 110 static struct sock *__l2cap_get_chan_by_dcid(struct l2cap_chan_list *l, u16 cid) in __l2cap_get_chan_by_dcid() argument 114 if (l2cap_pi(s)->dcid == cid) in __l2cap_get_chan_by_dcid() 120 static struct sock *__l2cap_get_chan_by_scid(struct l2cap_chan_list *l, u16 cid) in __l2cap_get_chan_by_scid() argument 124 if (l2cap_pi(s)->scid == cid) in __l2cap_get_chan_by_scid() 132 static inline struct sock *l2cap_get_chan_by_scid(struct l2cap_chan_list *l, u16 cid) in l2cap_get_chan_by_scid() argument 136 s = __l2cap_get_chan_by_scid(l, cid); in l2cap_get_chan_by_scid() 164 u16 cid = 0x0040; in l2cap_alloc_cid() local 166 for (; cid < 0xffff; cid++) { in l2cap_alloc_cid() 167 if(!__l2cap_get_chan_by_scid(l, cid)) in l2cap_alloc_cid() 168 return cid; in l2cap_alloc_cid() [all …]
|