|
#define | DCCP_WARN(fmt, a...) |
|
#define | DCCP_CRIT(fmt, a...) |
|
#define | DCCP_BUG(a...) do { DCCP_CRIT("BUG: " a); dump_stack(); } while(0) |
|
#define | DCCP_BUG_ON(cond) |
|
#define | DCCP_PRINTK(enable, fmt, args...) |
|
#define | DCCP_PR_DEBUG(enable, fmt, a...) |
|
#define | dccp_pr_debug(format, a...) |
|
#define | dccp_pr_debug_cat(format, a...) |
|
#define | dccp_debug(format, a...) |
|
#define | MAX_DCCP_SPECIFIC_HEADER (255 * sizeof(uint32_t)) |
|
#define | DCCP_MAX_PACKET_HDR 28 |
|
#define | DCCP_MAX_OPT_LEN (MAX_DCCP_SPECIFIC_HEADER - DCCP_MAX_PACKET_HDR) |
|
#define | MAX_DCCP_HEADER (MAX_DCCP_SPECIFIC_HEADER + MAX_HEADER) |
|
#define | DCCP_FEATNEG_OVERHEAD (32 * sizeof(uint32_t)) |
|
#define | DCCP_TIMEWAIT_LEN |
|
#define | DCCP_TIMEOUT_INIT ((unsigned int)(3 * HZ)) |
|
#define | DCCP_RTO_MAX ((unsigned int)(64 * HZ)) |
|
#define | DCCP_SANE_RTT_MIN 100 |
|
#define | DCCP_FALLBACK_RTT (USEC_PER_SEC / 5) |
|
#define | DCCP_SANE_RTT_MAX (3 * USEC_PER_SEC) |
|
#define | INT48_MIN 0x800000000000LL /* 2^47 */ |
|
#define | UINT48_MAX 0xFFFFFFFFFFFFLL /* 2^48 - 1 */ |
|
#define | COMPLEMENT48(x) (0x1000000000000LL - (x)) /* 2^48 - x */ |
|
#define | TO_SIGNED48(x) (((x) < INT48_MIN)? (x) : -COMPLEMENT48( (x))) |
|
#define | TO_UNSIGNED48(x) (((x) >= 0)? (x) : COMPLEMENT48(-(x))) |
|
#define | ADD48(a, b) (((a) + (b)) & UINT48_MAX) |
|
#define | SUB48(a, b) ADD48((a), COMPLEMENT48(b)) |
|
#define | after48(seq1, seq2) before48(seq2, seq1) |
|
#define | DCCP_MIB_MAX __DCCP_MIB_MAX |
|
#define | DCCP_INC_STATS(field) SNMP_INC_STATS(dccp_statistics, field) |
|
#define | DCCP_INC_STATS_BH(field) SNMP_INC_STATS_BH(dccp_statistics, field) |
|
#define | DCCP_DEC_STATS(field) SNMP_DEC_STATS(dccp_statistics, field) |
|
#define | DCCP_SKB_CB(__skb) ((struct dccp_skb_cb *)&((__skb)->cb[0])) |
|
#define | DCCP_PKT_WITHOUT_ACK_SEQ (UINT48_MAX << 2) |
|
|
void | dccp_time_wait (struct sock *sk, int state, int timeo) |
|
| DECLARE_SNMP_STAT (struct dccp_mib, dccp_statistics) |
|
void | dccp_v4_send_check (struct sock *sk, struct sk_buff *skb) |
|
int | dccp_retransmit_skb (struct sock *sk) |
|
void | dccp_send_ack (struct sock *sk) |
|
void | dccp_reqsk_send_ack (struct sock *sk, struct sk_buff *skb, struct request_sock *rsk) |
|
void | dccp_send_sync (struct sock *sk, const u64 seq, const enum dccp_pkt_type pkt_type) |
|
void | dccp_qpolicy_push (struct sock *sk, struct sk_buff *skb) |
|
bool | dccp_qpolicy_full (struct sock *sk) |
|
void | dccp_qpolicy_drop (struct sock *sk, struct sk_buff *skb) |
|
struct sk_buff * | dccp_qpolicy_top (struct sock *sk) |
|
struct sk_buff * | dccp_qpolicy_pop (struct sock *sk) |
|
bool | dccp_qpolicy_param_ok (struct sock *sk, __be32 param) |
|
void | dccp_write_xmit (struct sock *sk) |
|
void | dccp_write_space (struct sock *sk) |
|
void | dccp_flush_write_queue (struct sock *sk, long *time_budget) |
|
void | dccp_init_xmit_timers (struct sock *sk) |
|
unsigned int | dccp_sync_mss (struct sock *sk, u32 pmtu) |
|
const char * | dccp_packet_name (const int type) |
|
void | dccp_set_state (struct sock *sk, const int state) |
|
void | dccp_done (struct sock *sk) |
|
int | dccp_reqsk_init (struct request_sock *rq, struct dccp_sock const *dp, struct sk_buff const *skb) |
|
int | dccp_v4_conn_request (struct sock *sk, struct sk_buff *skb) |
|
struct sock * | dccp_create_openreq_child (struct sock *sk, const struct request_sock *req, const struct sk_buff *skb) |
|
int | dccp_v4_do_rcv (struct sock *sk, struct sk_buff *skb) |
|
struct sock * | dccp_v4_request_recv_sock (struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct dst_entry *dst) |
|
struct sock * | dccp_check_req (struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct request_sock **prev) |
|
int | dccp_child_process (struct sock *parent, struct sock *child, struct sk_buff *skb) |
|
int | dccp_rcv_state_process (struct sock *sk, struct sk_buff *skb, struct dccp_hdr *dh, unsigned int len) |
|
int | dccp_rcv_established (struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned int len) |
|
int | dccp_init_sock (struct sock *sk, const __u8 ctl_sock_initialized) |
|
void | dccp_destroy_sock (struct sock *sk) |
|
void | dccp_close (struct sock *sk, long timeout) |
|
struct sk_buff * | dccp_make_response (struct sock *sk, struct dst_entry *dst, struct request_sock *req) |
|
int | dccp_connect (struct sock *sk) |
|
int | dccp_disconnect (struct sock *sk, int flags) |
|
int | dccp_getsockopt (struct sock *sk, int level, int optname, char __user *optval, int __user *optlen) |
|
int | dccp_setsockopt (struct sock *sk, int level, int optname, char __user *optval, unsigned int optlen) |
|
int | dccp_ioctl (struct sock *sk, int cmd, unsigned long arg) |
|
int | dccp_sendmsg (struct kiocb *iocb, struct sock *sk, struct msghdr *msg, size_t size) |
|
int | dccp_recvmsg (struct kiocb *iocb, struct sock *sk, struct msghdr *msg, size_t len, int nonblock, int flags, int *addr_len) |
|
void | dccp_shutdown (struct sock *sk, int how) |
|
int | inet_dccp_listen (struct socket *sock, int backlog) |
|
unsigned int | dccp_poll (struct file *file, struct socket *sock, poll_table *wait) |
|
int | dccp_v4_connect (struct sock *sk, struct sockaddr *uaddr, int addr_len) |
|
struct sk_buff * | dccp_ctl_make_reset (struct sock *sk, struct sk_buff *skb) |
|
int | dccp_send_reset (struct sock *sk, enum dccp_reset_codes code) |
|
void | dccp_send_close (struct sock *sk, const int active) |
|
int | dccp_invalid_packet (struct sk_buff *skb) |
|
u32 | dccp_sample_rtt (struct sock *sk, long delta) |
|
int | dccp_feat_signal_nn_change (struct sock *sk, u8 feat, u64 nn_val) |
|
int | dccp_feat_finalise_settings (struct dccp_sock *dp) |
|
int | dccp_feat_server_ccid_dependencies (struct dccp_request_sock *dreq) |
|
int | dccp_feat_insert_opts (struct dccp_sock *, struct dccp_request_sock *, struct sk_buff *skb) |
|
int | dccp_feat_activate_values (struct sock *sk, struct list_head *fn) |
|
void | dccp_feat_list_purge (struct list_head *fn_list) |
|
int | dccp_insert_options (struct sock *sk, struct sk_buff *skb) |
|
int | dccp_insert_options_rsk (struct dccp_request_sock *, struct sk_buff *) |
|
int | dccp_insert_option_elapsed_time (struct sk_buff *skb, u32 elapsed) |
|
u32 | dccp_timestamp (void) |
|
void | dccp_timestamping_init (void) |
|
int | dccp_insert_option (struct sk_buff *skb, unsigned char option, const void *value, unsigned char len) |
|
dccp_feat_finalise_settings - Finalise settings before starting negotiation : client or listening socket (settings will be inherited)
This is called after all registrations (socket initialisation, sysctls, and sockopt calls), and before sending the first packet containing Change options (ie. client-Request or server-Response), to ensure internal consistency.
Definition at line 968 of file feat.c.