diff options
Diffstat (limited to 'cpukit/libnetworking/include')
-rw-r--r-- | cpukit/libnetworking/include/net/if.h | 8 | ||||
-rw-r--r-- | cpukit/libnetworking/include/netinet/tcp.h | 15 |
2 files changed, 2 insertions, 21 deletions
diff --git a/cpukit/libnetworking/include/net/if.h b/cpukit/libnetworking/include/net/if.h index 3bedab4f6f..241d51c5e5 100644 --- a/cpukit/libnetworking/include/net/if.h +++ b/cpukit/libnetworking/include/net/if.h @@ -124,11 +124,11 @@ struct if_data { #define IFF_LOOPBACK 0x8 /* is a loopback net */ #define IFF_POINTOPOINT 0x10 /* interface is point-to-point link */ #define IFF_SMART 0x20 /* interface manages own routes */ -#define IFF_RUNNING 0x40 /* resources allocated */ +#define IFF_DRV_RUNNING 0x40 /* resources allocated */ #define IFF_NOARP 0x80 /* no address resolution protocol */ #define IFF_PROMISC 0x100 /* receive all packets */ #define IFF_ALLMULTI 0x200 /* receive all multicast packets */ -#define IFF_OACTIVE 0x400 /* tx hardware queue is full */ +#define IFF_DRV_OACTIVE 0x400 /* tx hardware queue is full */ #define IFF_SIMPLEX 0x800 /* can't hear own transmissions */ #define IFF_LINK0 0x1000 /* per link layer defined bit */ #define IFF_LINK1 0x2000 /* per link layer defined bit */ @@ -292,10 +292,6 @@ __END_DECLS /* XXX - this should go away soon. */ #include <net/if_var.h> -void ifafree(struct ifaddr *); - -int looutput(struct ifnet *, - struct mbuf *, struct sockaddr *, struct rtentry *); #endif #endif /* !_NET_IF_H_ */ diff --git a/cpukit/libnetworking/include/netinet/tcp.h b/cpukit/libnetworking/include/netinet/tcp.h index 2262803b5e..9df1b7e88f 100644 --- a/cpukit/libnetworking/include/netinet/tcp.h +++ b/cpukit/libnetworking/include/netinet/tcp.h @@ -44,8 +44,6 @@ typedef u_int32_t tcp_seq; #define tcp6_seq tcp_seq /* for KAME src sync over BSD*'s */ #define tcp6hdr tcphdr /* for KAME src sync over BSD*'s */ -typedef u_long tcp_cc; /* connection count per rfc1644 */ - /* * TCP header. * Per RFC 793, September, 1981. @@ -91,19 +89,6 @@ struct tcphdr { #define TCPOPT_TIMESTAMP 8L #define TCPOLEN_TIMESTAMP 10L #define TCPOLEN_TSTAMP_APPA (uint32_t)(TCPOLEN_TIMESTAMP+2) /* appendix A */ -#define TCPOPT_TSTAMP_HDR \ - (uint32_t)(((uint32_t)TCPOPT_NOP<<24)| \ - ((uint32_t)TCPOPT_NOP<<16)| \ - ((uint32_t)TCPOPT_TIMESTAMP<<8)| \ - ((uint32_t)TCPOLEN_TIMESTAMP)) - -#define TCPOPT_CC 11 /* CC options: RFC-1644 */ -#define TCPOPT_CCNEW 12 -#define TCPOPT_CCECHO 13 -#define TCPOLEN_CC 6 -#define TCPOLEN_CC_APPA (TCPOLEN_CC+2) -#define TCPOPT_CC_HDR(ccopt) \ - (TCPOPT_NOP<<24|TCPOPT_NOP<<16|(ccopt)<<8|TCPOLEN_CC) /* * Default maximum segment size for TCP. |