Home
last modified time | relevance | path

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

/net/sctp/
Dstream_sched_fc.c27 static int sctp_sched_wfq_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_wfq_set() argument
30 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_wfq_set()
39 static int sctp_sched_wfq_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_wfq_get() argument
42 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_wfq_get()
48 static int sctp_sched_fc_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_set() argument
54 static int sctp_sched_fc_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_get() argument
67 static int sctp_sched_fc_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_init_sid() argument
70 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_fc_init_sid()
79 static void sctp_sched_fc_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_fc_free_sid() argument
103 __u16 sid; in sctp_sched_fc_enqueue() local
[all …]
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
206 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value() argument
209 if (sid >= asoc->stream.outcnt) in sctp_sched_set_value()
212 if (!SCTP_SO(&asoc->stream, sid)->ext) { in sctp_sched_set_value()
215 ret = sctp_stream_init_ext(&asoc->stream, sid); in sctp_sched_set_value()
220 return asoc->outqueue.sched->set(&asoc->stream, sid, value, gfp); in sctp_sched_set_value()
223 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value() argument
[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_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
102 __u16 sid; in sctp_sched_rr_enqueue() local
105 sid = sctp_chunk_stream_no(ch); in sctp_sched_rr_enqueue()
107 sctp_sched_rr_sched(stream, SCTP_SO(stream, sid)->ext); in sctp_sched_rr_enqueue()
137 __u16 sid; in sctp_sched_rr_dequeue_done() local
140 sid = sctp_chunk_stream_no(ch); in sctp_sched_rr_dequeue_done()
[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.c746 __u16 sid, csid, cssn; in sctp_ulpq_retrieve_ordered() local
748 sid = event->stream; in sctp_ulpq_retrieve_ordered()
760 if (csid > sid) in sctp_ulpq_retrieve_ordered()
764 if (csid < sid) in sctp_ulpq_retrieve_ordered()
767 if (cssn != sctp_ssn_peek(stream, in, sid)) in sctp_ulpq_retrieve_ordered()
771 sctp_ssn_next(stream, in, sid); in sctp_ulpq_retrieve_ordered()
786 __u16 sid, csid; in sctp_ulpq_store_ordered() local
795 sid = event->stream; in sctp_ulpq_store_ordered()
801 if (sid > csid) { in sctp_ulpq_store_ordered()
806 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.c1085 __u32 sid = ntohs(chunk->subh.data_hdr->stream); in sctp_outq_flush_data() local
1086 __u8 stream_state = SCTP_SO(&ctx->asoc->stream, sid)->state; in sctp_outq_flush_data()
Dsm_make_chunk.c1584 __u16 ssn, sid; in sctp_chunk_assign_ssn() local
1590 sid = ntohs(chunk->subh.data_hdr->stream); in sctp_chunk_assign_ssn()
1602 ssn = sctp_ssn_next(stream, out, sid); in sctp_chunk_assign_ssn()
1604 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()
Dnf_flow_table_ip.c161 tuple->encap[i].id = ntohs(phdr->sid); in nf_flow_tuple_encap()
Dnf_flow_table_offload.c669 entry->pppoe.sid = other_tuple->encap[i].id; in nf_flow_rule_route_common()
/net/l2tp/
Dtrace.h97 __field(u32, sid)
105 __entry->sid = session->session_id;
112 __entry->sid,
114 __entry->sid,
/net/bluetooth/
Diso.c561 __u8 sid) in __iso_get_sock_listen_by_sid() argument
575 if (iso_pi(sk)->bc_sid == sid) in __iso_get_sock_listen_by_sid()
1740 return ev->sid == iso_pi(sk)->bc_sid; in iso_match_sid()
Dhci_conn.c2156 __u8 sid, struct bt_iso_qos *qos) in hci_pa_create_sync() argument
2170 cp->sid = sid; in hci_pa_create_sync()
/net/core/
Dflow_dissector.c1380 key_pppoe->session_id = hdr->hdr.sid; in __skb_flow_dissect()