Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.69.130.137
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-5.15.0-25 /
include /
net /
sctp /
[ HOME SHELL ]
Name
Size
Permission
Action
auth.h
3.74
KB
-rw-r--r--
checksum.h
1.78
KB
-rw-r--r--
command.h
8.57
KB
-rw-r--r--
constants.h
13.8
KB
-rw-r--r--
sctp.h
20.32
KB
-rw-r--r--
sm.h
15.97
KB
-rw-r--r--
stream_interleave.h
1.62
KB
-rw-r--r--
stream_sched.h
2.26
KB
-rw-r--r--
structs.h
67
KB
-rw-r--r--
tsnmap.h
4.73
KB
-rw-r--r--
ulpevent.h
5.47
KB
-rw-r--r--
ulpqueue.h
2.23
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : stream_sched.h
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SCTP kernel implementation * (C) Copyright Red Hat Inc. 2017 * * These are definitions used by the stream schedulers, defined in RFC * draft ndata (https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-ndata-11) * * Please send any bug reports or fixes you make to the * email addresses: * lksctp developers <linux-sctp@vger.kernel.org> * * Written or modified by: * Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> */ #ifndef __sctp_stream_sched_h__ #define __sctp_stream_sched_h__ struct sctp_sched_ops { /* Property handling for a given stream */ int (*set)(struct sctp_stream *stream, __u16 sid, __u16 value, gfp_t gfp); int (*get)(struct sctp_stream *stream, __u16 sid, __u16 *value); /* Init the specific scheduler */ int (*init)(struct sctp_stream *stream); /* Init a stream */ int (*init_sid)(struct sctp_stream *stream, __u16 sid, gfp_t gfp); /* Frees the entire thing */ void (*free)(struct sctp_stream *stream); /* Enqueue a chunk */ void (*enqueue)(struct sctp_outq *q, struct sctp_datamsg *msg); /* Dequeue a chunk */ struct sctp_chunk *(*dequeue)(struct sctp_outq *q); /* Called only if the chunk fit the packet */ void (*dequeue_done)(struct sctp_outq *q, struct sctp_chunk *chunk); /* Sched all chunks already enqueued */ void (*sched_all)(struct sctp_stream *steam); /* Unched all chunks already enqueued */ void (*unsched_all)(struct sctp_stream *steam); }; int sctp_sched_set_sched(struct sctp_association *asoc, enum sctp_sched_type sched); int sctp_sched_get_sched(struct sctp_association *asoc); int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, __u16 value, gfp_t gfp); int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, __u16 *value); void sctp_sched_dequeue_done(struct sctp_outq *q, struct sctp_chunk *ch); void sctp_sched_dequeue_common(struct sctp_outq *q, struct sctp_chunk *ch); int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp); struct sctp_sched_ops *sctp_sched_ops_from_stream(struct sctp_stream *stream); void sctp_sched_ops_register(enum sctp_sched_type sched, struct sctp_sched_ops *sched_ops); void sctp_sched_ops_prio_init(void); void sctp_sched_ops_rr_init(void); #endif /* __sctp_stream_sched_h__ */
Close