Go to the documentation of this file.
7 #include <asm/byteorder.h>
8 #include <asm/unaligned.h>
93 #define NSP_MIN_WINDOW 1
94 #define NSP_MAX_WINDOW (0x07fe)
97 #define NSP_INITIAL_SRTT (HZ)
99 #define NSP_INITIAL_RTTVAR (HZ*3)
101 #define NSP_MAXRXTSHIFT 12
136 return (
struct dn_scp *)(sk + 1);
157 #define DN_SKB_CB(skb) ((struct dn_skb_cb *)(skb)->cb)
175 static inline __le16 dn_eth2dn(
unsigned char *ethaddr)
182 return *(
__le16 *)saddr->sdn_nodeaddr;
185 static inline void dn_dn2eth(
unsigned char *ethaddr,
__le16 addr)
192 ethaddr[4] = (
__u8)(a & 0xff);
193 ethaddr[5] = (
__u8)(a >> 8);
196 static inline void dn_sk_ports_copy(
struct flowidn *fld,
struct dn_scp *
scp)
204 #define DN_MENUVER_ACC 0x01
205 #define DN_MENUVER_USR 0x02
206 #define DN_MENUVER_PRX 0x04
207 #define DN_MENUVER_UIC 0x08
211 #define DN_ASCBUF_LEN 9