ifconfig_net.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  * This file is subject to the terms and conditions of the GNU General Public
  3.  * License.  See the file "COPYING" in the main directory of this archive
  4.  * for more details.
  5.  *
  6.  * Copyright (C) 2000-2001 Silicon Graphics, Inc. All rights reserved.
  7.  */
  8. #ifndef _ASM_IA64_SN_IFCONFIG_NET_H
  9. #define _ASM_IA64_SN_IFCONFIG_NET_H
  10. #define NETCONFIG_FILE "/tmp/ifconfig_net"
  11. #define POUND_CHAR                   '#'
  12. #define MAX_LINE_LEN 128
  13. #define MAXPATHLEN 128
  14. struct ifname_num {
  15. long next_eth;
  16. long next_fddi;
  17. long next_hip;
  18. long next_tr;
  19. long next_fc;
  20. long size;
  21. };
  22. struct ifname_MAC {
  23. char name[16];
  24. unsigned char           dev_addr[7];
  25. unsigned char           addr_len;       /* hardware address length      */
  26. };
  27. #endif /* _ASM_IA64_SN_IFCONFIG_NET_H */