dccp.h (0430ee3451f4589b68f522552b1896825f2043b3) dccp.h (a94f0f970549e63e54c80c4509db299c514d8c11)
1#ifndef _DCCP_H
2#define _DCCP_H
3/*
4 * net/dccp/dccp.h
5 *
6 * An implementation of the DCCP protocol
7 * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
8 * Copyright (c) 2005-6 Ian McDonald <ian.mcdonald@jandi.co.nz>

--- 78 unchanged lines hidden (view full) ---

87extern int sysctl_dccp_retries2;
88extern int sysctl_dccp_feat_sequence_window;
89extern int sysctl_dccp_feat_rx_ccid;
90extern int sysctl_dccp_feat_tx_ccid;
91extern int sysctl_dccp_feat_ack_ratio;
92extern int sysctl_dccp_feat_send_ack_vector;
93extern int sysctl_dccp_feat_send_ndp_count;
94extern int sysctl_dccp_tx_qlen;
1#ifndef _DCCP_H
2#define _DCCP_H
3/*
4 * net/dccp/dccp.h
5 *
6 * An implementation of the DCCP protocol
7 * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
8 * Copyright (c) 2005-6 Ian McDonald <ian.mcdonald@jandi.co.nz>

--- 78 unchanged lines hidden (view full) ---

87extern int sysctl_dccp_retries2;
88extern int sysctl_dccp_feat_sequence_window;
89extern int sysctl_dccp_feat_rx_ccid;
90extern int sysctl_dccp_feat_tx_ccid;
91extern int sysctl_dccp_feat_ack_ratio;
92extern int sysctl_dccp_feat_send_ack_vector;
93extern int sysctl_dccp_feat_send_ndp_count;
94extern int sysctl_dccp_tx_qlen;
95extern int sysctl_dccp_sync_ratelimit;
95
96/*
97 * 48-bit sequence number arithmetic (signed and unsigned)
98 */
99#define INT48_MIN 0x800000000000LL /* 2^47 */
100#define UINT48_MAX 0xFFFFFFFFFFFFLL /* 2^48 - 1 */
101#define COMPLEMENT48(x) (0x1000000000000LL - (x)) /* 2^48 - x */
102#define TO_SIGNED48(x) (((x) < INT48_MIN)? (x) : -COMPLEMENT48( (x)))

--- 329 unchanged lines hidden ---
96
97/*
98 * 48-bit sequence number arithmetic (signed and unsigned)
99 */
100#define INT48_MIN 0x800000000000LL /* 2^47 */
101#define UINT48_MAX 0xFFFFFFFFFFFFLL /* 2^48 - 1 */
102#define COMPLEMENT48(x) (0x1000000000000LL - (x)) /* 2^48 - x */
103#define TO_SIGNED48(x) (((x) < INT48_MIN)? (x) : -COMPLEMENT48( (x)))

--- 329 unchanged lines hidden ---