/linux-6.12.1/include/net/sctp/ |
D | sm.h | 164 int sctp_chunk_iif(const struct sctp_chunk *); 166 struct sctp_chunk *, 170 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, 173 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc, 174 const struct sctp_chunk *chunk, 176 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc, 177 const struct sctp_chunk *chunk); 178 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc, 179 const struct sctp_chunk *chunk); 180 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc, [all …]
|
D | stream_interleave.h | 23 struct sctp_chunk *(*make_datafrag)(const struct sctp_association *asoc, 26 void (*assign_number)(struct sctp_chunk *chunk); 27 bool (*validate_data)(struct sctp_chunk *chunk); 29 struct sctp_chunk *chunk, gfp_t gfp); 33 struct sctp_chunk *chunk, gfp_t gfp); 38 bool (*validate_ftsn)(struct sctp_chunk *chunk); 41 struct sctp_chunk *chunk);
|
D | structs.h | 65 struct sctp_chunk; 536 void sctp_chunk_fail(struct sctp_chunk *, int error); 537 int sctp_chunk_abandoned(struct sctp_chunk *); 547 struct sctp_chunk { struct 665 void sctp_chunk_hold(struct sctp_chunk *); argument 666 void sctp_chunk_put(struct sctp_chunk *); 667 int sctp_user_addto_chunk(struct sctp_chunk *chunk, int len, 669 void sctp_chunk_free(struct sctp_chunk *); 670 void *sctp_addto_chunk(struct sctp_chunk *, int len, const void *data); 671 struct sctp_chunk *sctp_chunkify(struct sk_buff *, [all …]
|
D | ulpevent.h | 40 struct sctp_chunk *chunk; 80 struct sctp_chunk *chunk, 88 struct sctp_chunk *chunk, 93 struct sctp_chunk *chunk, 100 struct sctp_chunk *chunk, 119 struct sctp_chunk *chunk,
|
D | stream_sched.h | 35 struct sctp_chunk *(*dequeue)(struct sctp_outq *q); 37 void (*dequeue_done)(struct sctp_outq *q, struct sctp_chunk *chunk); 51 void sctp_sched_dequeue_done(struct sctp_outq *q, struct sctp_chunk *ch); 53 void sctp_sched_dequeue_common(struct sctp_outq *q, struct sctp_chunk *ch);
|
D | ulpqueue.h | 43 int sctp_ulpq_tail_data(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); 49 void sctp_ulpq_renege(struct sctp_ulpq *, struct sctp_chunk *, gfp_t);
|
D | command.h | 116 struct sctp_chunk *chunk; 157 SCTP_ARG_CONSTRUCTOR(CHUNK, struct sctp_chunk *, chunk) in SCTP_ARG_CONSTRUCTOR()
|
/linux-6.12.1/net/sctp/ |
D | sm_make_chunk.c | 49 static struct sctp_chunk *sctp_make_control(const struct sctp_association *asoc, 52 static struct sctp_chunk *sctp_make_data(const struct sctp_association *asoc, 54 static struct sctp_chunk *_sctp_make_chunk(const struct sctp_association *asoc, 60 const struct sctp_chunk *init_chunk, 67 static void *sctp_addto_param(struct sctp_chunk *chunk, int len, 73 struct sctp_chunk *chunk = skb_shinfo(skb)->destructor_arg; in sctp_control_release_owner() 97 static void sctp_control_set_owner_w(struct sctp_chunk *chunk) in sctp_control_set_owner_w() 119 int sctp_chunk_iif(const struct sctp_chunk *chunk) in sctp_chunk_iif() 143 int sctp_init_cause(struct sctp_chunk *chunk, __be16 cause_code, in sctp_init_cause() 206 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, in sctp_make_init() [all …]
|
D | output.c | 46 struct sctp_chunk *chunk); 48 struct sctp_chunk *chunk); 50 struct sctp_chunk *chunk); 52 struct sctp_chunk *chunk, 122 struct sctp_chunk *chunk = sctp_get_ecne_prepend(asoc); in sctp_packet_config() 163 struct sctp_chunk *chunk, *tmp; in sctp_packet_free() 181 struct sctp_chunk *chunk, in sctp_packet_transmit_chunk() 217 static enum sctp_xmit sctp_packet_bundle_pad(struct sctp_packet *pkt, struct sctp_chunk *chunk) in sctp_packet_bundle_pad() 220 struct sctp_chunk *pad; in sctp_packet_bundle_pad() 242 struct sctp_chunk *chunk) in sctp_packet_bundle_auth() [all …]
|
D | sm_statefuns.c | 55 struct sctp_chunk *chunk, 58 struct sctp_chunk *chunk, 63 const struct sctp_chunk *chunk); 67 const struct sctp_chunk *chunk, 69 struct sctp_chunk *err_chunk); 98 static struct sctp_sackhdr *sctp_sm_pull_sack(struct sctp_chunk *chunk); 150 struct sctp_chunk *chunk); 173 static inline bool sctp_chunk_length_valid(struct sctp_chunk *chunk, in sctp_chunk_length_valid() 188 static inline bool sctp_err_chunk_valid(struct sctp_chunk *chunk) in sctp_err_chunk_valid() 238 struct sctp_chunk *chunk = arg; in sctp_sf_do_4_C() [all …]
|
D | stream_sched_rr.c | 101 struct sctp_chunk *ch; in sctp_sched_rr_enqueue() 104 ch = list_first_entry(&msg->chunks, struct sctp_chunk, frag_list); in sctp_sched_rr_enqueue() 110 static struct sctp_chunk *sctp_sched_rr_dequeue(struct sctp_outq *q) in sctp_sched_rr_dequeue() 114 struct sctp_chunk *ch = NULL; in sctp_sched_rr_dequeue() 125 ch = list_entry(soute->outq.next, struct sctp_chunk, stream_list); in sctp_sched_rr_dequeue() 134 struct sctp_chunk *ch) in sctp_sched_rr_dequeue_done() 153 struct sctp_chunk *ch; in sctp_sched_rr_sched_all()
|
D | inqueue.c | 42 static inline void sctp_inq_chunk_free(struct sctp_chunk *chunk) in sctp_inq_chunk_free() 52 struct sctp_chunk *chunk, *tmp; in sctp_inq_free() 72 void sctp_inq_push(struct sctp_inq *q, struct sctp_chunk *chunk) in sctp_inq_push() 94 struct sctp_chunk *chunk; in sctp_inq_peek() 115 struct sctp_chunk *sctp_inq_pop(struct sctp_inq *queue) in sctp_inq_pop() 117 struct sctp_chunk *chunk; in sctp_inq_pop() 162 chunk = list_entry(entry, struct sctp_chunk, list); in sctp_inq_pop()
|
D | outqueue.c | 60 struct sctp_chunk *ch) in sctp_outq_head_data() 74 static inline struct sctp_chunk *sctp_outq_dequeue_data(struct sctp_outq *q) in sctp_outq_dequeue_data() 81 struct sctp_chunk *ch) in sctp_outq_tail_data() 210 struct sctp_chunk *chunk, *tmp; in __sctp_outq_teardown() 216 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown() 227 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown() 236 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown() 245 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown() 281 void sctp_outq_tail(struct sctp_outq *q, struct sctp_chunk *chunk, gfp_t gfp) in sctp_outq_tail() 322 struct sctp_chunk *nchunk, *lchunk; in sctp_insert_list() [all …]
|
D | stream_sched.c | 58 static struct sctp_chunk *sctp_sched_fcfs_dequeue(struct sctp_outq *q) in sctp_sched_fcfs_dequeue() 61 struct sctp_chunk *ch = NULL; in sctp_sched_fcfs_dequeue() 69 struct sctp_chunk, stream_list); in sctp_sched_fcfs_dequeue() 72 ch = list_entry(entry, struct sctp_chunk, list); in sctp_sched_fcfs_dequeue() 82 struct sctp_chunk *chunk) in sctp_sched_fcfs_dequeue_done() 154 struct sctp_chunk *ch; in sctp_sched_set_sched() 235 void sctp_sched_dequeue_done(struct sctp_outq *q, struct sctp_chunk *ch) in sctp_sched_dequeue_done() 257 void sctp_sched_dequeue_common(struct sctp_outq *q, struct sctp_chunk *ch) in sctp_sched_dequeue_common()
|
D | stream_sched_fc.c | 102 struct sctp_chunk *ch; in sctp_sched_fc_enqueue() 105 ch = list_first_entry(&msg->chunks, struct sctp_chunk, frag_list); in sctp_sched_fc_enqueue() 111 static struct sctp_chunk *sctp_sched_fc_dequeue(struct sctp_outq *q) in sctp_sched_fc_dequeue() 115 struct sctp_chunk *ch; in sctp_sched_fc_dequeue() 126 ch = list_entry(soute->outq.next, struct sctp_chunk, stream_list); in sctp_sched_fc_dequeue() 133 struct sctp_chunk *ch) in sctp_sched_fc_dequeue_done() 172 struct sctp_chunk *ch; in sctp_sched_fc_sched_all()
|
D | chunk.c | 60 struct sctp_chunk *chunk; in sctp_datamsg_free() 76 struct sctp_chunk *chunk; in sctp_datamsg_destroy() 83 chunk = list_entry(pos, struct sctp_chunk, frag_list); in sctp_datamsg_destroy() 132 static void sctp_datamsg_assign(struct sctp_datamsg *msg, struct sctp_chunk *chunk) in sctp_datamsg_assign() 154 struct sctp_chunk *chunk; in sctp_datamsg_from_user() 291 chunk = list_entry(pos, struct sctp_chunk, frag_list); in sctp_datamsg_from_user() 300 int sctp_chunk_abandoned(struct sctp_chunk *chunk) in sctp_chunk_abandoned() 349 void sctp_chunk_fail(struct sctp_chunk *chunk, int error) in sctp_chunk_fail()
|
D | stream_sched_prio.c | 219 struct sctp_chunk *ch; in sctp_sched_prio_enqueue() 222 ch = list_first_entry(&msg->chunks, struct sctp_chunk, frag_list); in sctp_sched_prio_enqueue() 228 static struct sctp_chunk *sctp_sched_prio_dequeue(struct sctp_outq *q) in sctp_sched_prio_dequeue() 233 struct sctp_chunk *ch = NULL; in sctp_sched_prio_dequeue() 249 ch = list_entry(soute->outq.next, struct sctp_chunk, stream_list); in sctp_sched_prio_dequeue() 257 struct sctp_chunk *ch) in sctp_sched_prio_dequeue_done() 280 struct sctp_chunk *ch; in sctp_sched_prio_sched_all()
|
D | stream.c | 28 struct sctp_chunk *ch, *temp; in sctp_stream_shrink_out() 230 struct sctp_chunk *chunk) in sctp_send_reconf() 270 struct sctp_chunk *chunk; in sctp_send_reset_streams() 383 struct sctp_chunk *chunk = NULL; in sctp_send_reset_assoc() 428 struct sctp_chunk *chunk = NULL; in sctp_send_add_streams() 486 struct sctp_chunk *chunk = asoc->strreset_chunk; in sctp_chunk_lookup_strreset_param() 516 struct sctp_chunk *sctp_process_strreset_outreq( in sctp_process_strreset_outreq() 605 struct sctp_chunk *sctp_process_strreset_inreq( in sctp_process_strreset_inreq() 613 struct sctp_chunk *chunk = NULL; in sctp_process_strreset_inreq() 682 struct sctp_chunk *sctp_process_strreset_tsnreq( in sctp_process_strreset_tsnreq() [all …]
|
D | stream_interleave.c | 24 static struct sctp_chunk *sctp_make_idatafrag_empty( in sctp_make_idatafrag_empty() 29 struct sctp_chunk *retval; in sctp_make_idatafrag_empty() 48 static void sctp_chunk_assign_mid(struct sctp_chunk *chunk) in sctp_chunk_assign_mid() 51 struct sctp_chunk *lchunk; in sctp_chunk_assign_mid() 87 static bool sctp_validate_data(struct sctp_chunk *chunk) in sctp_validate_data() 105 static bool sctp_validate_idata(struct sctp_chunk *chunk) in sctp_validate_idata() 820 struct sctp_chunk *chunk, gfp_t gfp) in sctp_ulpevent_idata() 954 static void sctp_renege_events(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, in sctp_renege_events() 1102 struct sctp_chunk *ftsn_chunk = NULL; in sctp_generate_iftsn() 1105 struct sctp_chunk *chunk; in sctp_generate_iftsn() [all …]
|
D | sm_sideeffect.c | 85 static struct sctp_chunk *sctp_do_ecn_ecne_work(struct sctp_association *asoc, in sctp_do_ecn_ecne_work() 87 struct sctp_chunk *chunk) in sctp_do_ecn_ecne_work() 89 struct sctp_chunk *repl; in sctp_do_ecn_ecne_work() 143 struct sctp_chunk *sack; in sctp_gen_sack() 652 struct sctp_chunk *chunk, in sctp_cmd_assoc_failed() 656 struct sctp_chunk *abort; in sctp_cmd_assoc_failed() 695 struct sctp_chunk *chunk, in sctp_cmd_process_init() 760 struct sctp_chunk *chunk) in sctp_cmd_transport_on() 830 struct sctp_chunk *chunk) in sctp_cmd_process_sack() 850 struct sctp_chunk *chunk) in sctp_cmd_setup_t2() [all …]
|
D | associola.c | 486 struct sctp_chunk *ch; in sctp_assoc_rm_peer() 908 struct sctp_chunk *sctp_get_ecne_prepend(struct sctp_association *asoc) in sctp_get_ecne_prepend() 928 struct sctp_chunk *chunk; in sctp_assoc_lookup_tsn() 986 struct sctp_chunk *chunk; in sctp_assoc_bh_rcv() 1472 struct sctp_chunk *sack; in sctp_assoc_rwnd_increase() 1653 struct sctp_chunk *asconf; in sctp_assoc_free_asconf_queue() 1654 struct sctp_chunk *tmp; in sctp_assoc_free_asconf_queue() 1665 struct sctp_chunk *ack; in sctp_assoc_free_asconf_acks() 1666 struct sctp_chunk *tmp; in sctp_assoc_free_asconf_acks() 1678 struct sctp_chunk *ack; in sctp_assoc_clean_asconf_ack_cache() [all …]
|
D | ulpevent.c | 79 struct sctp_chunk *chunk = event->chunk; in sctp_ulpevent_set_owner() 117 __u16 inbound, struct sctp_chunk *chunk, gfp_t gfp) in sctp_ulpevent_make_assoc_change() 375 struct sctp_chunk *chunk, __u16 flags, in sctp_ulpevent_make_remote_error() 431 const struct sctp_association *asoc, struct sctp_chunk *chunk, in sctp_ulpevent_make_send_failed() 534 const struct sctp_association *asoc, struct sctp_chunk *chunk, in sctp_ulpevent_make_send_failed_event() 676 struct sctp_chunk *chunk, in sctp_ulpevent_make_rcvmsg()
|
D | input.c | 95 struct sctp_chunk *chunk; in sctp_rcv() 278 struct sctp_chunk *chunk = SCTP_INPUT_CB(skb)->chunk; in sctp_backlog_rcv() 349 struct sctp_chunk *chunk = SCTP_INPUT_CB(skb)->chunk; in sctp_add_backlog()
|
D | socket.c | 89 struct sctp_chunk *chunk); 125 static inline void sctp_set_owner_w(struct sctp_chunk *chunk) in sctp_set_owner_w() 142 refcount_add(sizeof(struct sctp_chunk), &sk->sk_wmem_alloc); in sctp_set_owner_w() 143 asoc->sndbuf_used += chunk->skb->truesize + sizeof(struct sctp_chunk); in sctp_set_owner_w() 144 sk_wmem_queued_add(sk, chunk->skb->truesize + sizeof(struct sctp_chunk)); in sctp_set_owner_w() 148 static void sctp_clear_owner_w(struct sctp_chunk *chunk) in sctp_clear_owner_w() 168 void (*cb)(struct sctp_chunk *)) in sctp_for_each_tx_datachunk() argument 173 struct sctp_chunk *chunk, *c; in sctp_for_each_tx_datachunk() 469 struct sctp_chunk *chunk) in sctp_send_asconf() 563 struct sctp_chunk *chunk; in sctp_send_asconf_add_ip() [all …]
|
/linux-6.12.1/include/trace/events/ |
D | sctp.h | 54 struct sctp_chunk *chunk),
|