|
Linux Kernel
3.7.1
|
#include <linux/types.h>#include <linux/kernel.h>#include <linux/wait.h>#include <linux/time.h>#include <linux/ip.h>#include <linux/ipv6.h>#include <linux/init.h>#include <linux/slab.h>#include <net/inet_ecn.h>#include <net/ip.h>#include <net/icmp.h>#include <net/net_namespace.h>#include <linux/socket.h>#include <net/sock.h>#include <net/sctp/sctp.h>#include <net/sctp/sm.h>#include <net/sctp/checksum.h>Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
Functions | |
| struct sctp_packet * | sctp_packet_config (struct sctp_packet *packet, __u32 vtag, int ecn_capable) |
| struct sctp_packet * | sctp_packet_init (struct sctp_packet *packet, struct sctp_transport *transport, __u16 sport, __u16 dport) |
| void | sctp_packet_free (struct sctp_packet *packet) |
| sctp_xmit_t | sctp_packet_transmit_chunk (struct sctp_packet *packet, struct sctp_chunk *chunk, int one_packet) |
| sctp_xmit_t | sctp_packet_append_chunk (struct sctp_packet *packet, struct sctp_chunk *chunk) |
| int | sctp_packet_transmit (struct sctp_packet *packet) |
| sctp_xmit_t sctp_packet_append_chunk | ( | struct sctp_packet * | packet, |
| struct sctp_chunk * | chunk | ||
| ) |
|
read |
| void sctp_packet_free | ( | struct sctp_packet * | packet | ) |
|
read |
| int sctp_packet_transmit | ( | struct sctp_packet * | packet | ) |
6.10 Bundling
An endpoint bundles chunks by simply including multiple chunks in one outbound SCTP packet. ...
3.2 Chunk Field Descriptions
The total length of a chunk (including Type, Length and Value fields) MUST be a multiple of 4 bytes. If the length of the chunk is not a multiple of 4 bytes, the sender MUST pad the chunk with all zero bytes and this padding is not included in the chunk length field. The sender should never pad with more than 3 bytes.
[This whole comment explains WORD_ROUND() below.]
| sctp_xmit_t sctp_packet_transmit_chunk | ( | struct sctp_packet * | packet, |
| struct sctp_chunk * | chunk, | ||
| int | one_packet | ||
| ) |
1.8.2