]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/net.h
malloc_f: remove redundant defalut values of CONFIG_SYS_MALLOC_F_LEN
[people/ms/u-boot.git] / include / net.h
index 73ea88b42d7defb35ddea2da2d0ff30684c26b30..237c932be3341350f235c4debf9999ec5d487343 100644 (file)
@@ -191,6 +191,8 @@ struct ethernet_hdr {
 /* Ethernet header size */
 #define ETHER_HDR_SIZE (sizeof(struct ethernet_hdr))
 
+#define ETH_FCS_LEN    4               /* Octets in the FCS            */
+
 struct e802_hdr {
        uchar           et_dest[6];     /* Destination node             */
        uchar           et_src[6];      /* Source node                  */
@@ -512,10 +514,6 @@ unsigned add_ip_checksums(unsigned offset, unsigned sum, unsigned new_sum);
  */
 int ip_checksum_ok(const void *addr, unsigned nbytes);
 
-/* Checksum */
-extern int     NetCksumOk(uchar *, int);       /* Return true if cksum OK */
-extern uint    NetCksum(uchar *, int);         /* Calculate the checksum */
-
 /* Callbacks */
 extern rxhand_f *net_get_udp_handler(void);    /* Get UDP RX packet handler */
 extern void net_set_udp_handler(rxhand_f *);   /* Set UDP RX packet handler */