Home
last modified time | relevance | path

Searched refs:sid (Results 1 – 11 of 11) sorted by relevance

/net/sctp/
Dstream_sched.c25 static int sctp_sched_fcfs_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_set() argument
31 static int sctp_sched_fcfs_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_get() argument
43 static int sctp_sched_fcfs_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_init_sid() argument
49 static void sctp_sched_fcfs_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_fcfs_free_sid() argument
204 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value() argument
207 if (sid >= asoc->stream.outcnt) in sctp_sched_set_value()
210 if (!SCTP_SO(&asoc->stream, sid)->ext) { in sctp_sched_set_value()
213 ret = sctp_stream_init_ext(&asoc->stream, sid); in sctp_sched_set_value()
218 return asoc->outqueue.sched->set(&asoc->stream, sid, value, gfp); in sctp_sched_set_value()
221 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value() argument
[all …]
Dstream_sched_rr.c65 static int sctp_sched_rr_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_set() argument
71 static int sctp_sched_rr_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_get() argument
85 static int sctp_sched_rr_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_init_sid() argument
88 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->rr_list); in sctp_sched_rr_init_sid()
93 static void sctp_sched_rr_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_rr_free_sid() argument
107 __u16 sid; in sctp_sched_rr_enqueue() local
110 sid = sctp_chunk_stream_no(ch); in sctp_sched_rr_enqueue()
112 sctp_sched_rr_sched(stream, SCTP_SO(stream, sid)->ext); in sctp_sched_rr_enqueue()
142 __u16 sid; in sctp_sched_rr_dequeue_done() local
145 sid = sctp_chunk_stream_no(ch); in sctp_sched_rr_dequeue_done()
[all …]
Dstream_sched_prio.c163 static int sctp_sched_prio_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_set() argument
166 struct sctp_stream_out *sout = SCTP_SO(stream, sid); in sctp_sched_prio_set()
188 static int sctp_sched_prio_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_get() argument
191 *value = SCTP_SO(stream, sid)->ext->prio_head->prio; in sctp_sched_prio_get()
202 static int sctp_sched_prio_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_init_sid() argument
205 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->prio_list); in sctp_sched_prio_init_sid()
206 return sctp_sched_prio_set(stream, sid, 0, gfp); in sctp_sched_prio_init_sid()
209 static void sctp_sched_prio_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_prio_free_sid() argument
211 sctp_sched_prio_head_put(SCTP_SO(stream, sid)->ext->prio_head); in sctp_sched_prio_free_sid()
212 SCTP_SO(stream, sid)->ext->prio_head = NULL; in sctp_sched_prio_free_sid()
[all …]
Dstream_interleave.c53 __u16 sid; in sctp_chunk_assign_mid() local
58 sid = sctp_chunk_stream_no(chunk); in sctp_chunk_assign_mid()
76 sctp_mid_uo_next(stream, out, sid) : in sctp_chunk_assign_mid()
77 sctp_mid_uo_peek(stream, out, sid); in sctp_chunk_assign_mid()
80 sctp_mid_next(stream, out, sid) : in sctp_chunk_assign_mid()
81 sctp_mid_peek(stream, out, sid); in sctp_chunk_assign_mid()
90 __u16 sid, ssn; in sctp_validate_data() local
99 sid = sctp_chunk_stream_no(chunk); in sctp_validate_data()
102 return !SSN_lt(ssn, sctp_ssn_peek(stream, in, sid)); in sctp_validate_data()
109 __u16 sid; in sctp_validate_idata() local
[all …]
Dulpqueue.c752 __u16 sid, csid, cssn; in sctp_ulpq_retrieve_ordered() local
754 sid = event->stream; in sctp_ulpq_retrieve_ordered()
766 if (csid > sid) in sctp_ulpq_retrieve_ordered()
770 if (csid < sid) in sctp_ulpq_retrieve_ordered()
773 if (cssn != sctp_ssn_peek(stream, in, sid)) in sctp_ulpq_retrieve_ordered()
777 sctp_ssn_next(stream, in, sid); in sctp_ulpq_retrieve_ordered()
792 __u16 sid, csid; in sctp_ulpq_store_ordered() local
801 sid = event->stream; in sctp_ulpq_store_ordered()
807 if (sid > csid) { in sctp_ulpq_store_ordered()
812 if ((sid == csid) && SSN_lt(cssn, ssn)) { in sctp_ulpq_store_ordered()
[all …]
Dstream.c35 __u16 sid = sctp_chunk_stream_no(ch); in sctp_stream_shrink_out() local
37 if (sid < outcnt) in sctp_stream_shrink_out()
55 static void sctp_stream_free_ext(struct sctp_stream *stream, __u16 sid) in sctp_stream_free_ext() argument
59 if (!SCTP_SO(stream, sid)->ext) in sctp_stream_free_ext()
63 sched->free_sid(stream, sid); in sctp_stream_free_ext()
64 kfree(SCTP_SO(stream, sid)->ext); in sctp_stream_free_ext()
65 SCTP_SO(stream, sid)->ext = NULL; in sctp_stream_free_ext()
164 int sctp_stream_init_ext(struct sctp_stream *stream, __u16 sid) in sctp_stream_init_ext() argument
172 SCTP_SO(stream, sid)->ext = soute; in sctp_stream_init_ext()
174 ret = sctp_sched_init_sid(stream, sid, GFP_KERNEL); in sctp_stream_init_ext()
[all …]
Dulpevent.c773 __u32 indication, __u32 sid, __u32 seq, in sctp_ulpevent_make_pdapi() argument
796 pd->pdapi_stream = sid; in sctp_ulpevent_make_pdapi()
Doutqueue.c1069 __u32 sid = ntohs(chunk->subh.data_hdr->stream); in sctp_outq_flush_data() local
1070 __u8 stream_state = SCTP_SO(&ctx->asoc->stream, sid)->state; in sctp_outq_flush_data()
Dsm_make_chunk.c1539 __u16 ssn, sid; in sctp_chunk_assign_ssn() local
1545 sid = ntohs(chunk->subh.data_hdr->stream); in sctp_chunk_assign_ssn()
1557 ssn = sctp_ssn_next(stream, out, sid); in sctp_chunk_assign_ssn()
1559 ssn = sctp_ssn_peek(stream, out, sid); in sctp_chunk_assign_ssn()
/net/netfilter/
Dxt_l2tp.c39 u32 sid; member
65 (info->sid != data->sid)) in l2tp_match()
119 data.sid = ntohl(lh->val32); in l2tp_udp_mt()
127 data.sid = (u32) ntohs(lh->val16[1]); in l2tp_udp_mt()
161 data.sid = ntohl(lh->val32); in l2tp_ip_mt()
248 (info->sid > 0xffff)) { in l2tp_mt_check()
250 info->sid); in l2tp_mt_check()
/net/l2tp/
Dtrace.h97 __field(u32, sid)
105 __entry->sid = session->session_id;
112 __entry->sid,
114 __entry->sid,