オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/compat.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2344 by kumaneko, Wed Apr 1 02:23:18 2009 UTC revision 2402 by kumaneko, Wed Apr 8 02:10:57 2009 UTC
# Line 5  Line 5 
5   *   *
6   * Copyright (C) 2005-2009  NTT DATA CORPORATION   * Copyright (C) 2005-2009  NTT DATA CORPORATION
7   *   *
8   * Version: 1.6.7   2009/04/01   * Version: 1.6.7+   2009/04/08
9   *   *
10   * This file is applicable to both 2.4.30 and 2.6.11 and later.   * This file is applicable to both 2.4.30 and 2.6.11 and later.
11   * See README.ccs for ChangeLog.   * See README.ccs for ChangeLog.
# Line 159  static inline struct socket *SOCKET_I(st Line 159  static inline struct socket *SOCKET_I(st
159          return inode->i_sock ? &inode->u.socket_i : NULL;          return inode->i_sock ? &inode->u.socket_i : NULL;
160  }  }
161  #endif  #endif
162    
163    #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30)
164    #if defined(__LITTLE_ENDIAN)
165    #define HIPQUAD(addr) \
166            ((unsigned char *)&addr)[3], \
167            ((unsigned char *)&addr)[2], \
168            ((unsigned char *)&addr)[1], \
169            ((unsigned char *)&addr)[0]
170    #elif defined(__BIG_ENDIAN)
171    #define HIPQUAD NIPQUAD
172    #else
173    #error "Please fix asm/byteorder.h"
174    #endif /* __LITTLE_ENDIAN */
175    #endif

Legend:
Removed from v.2344  
changed lines
  Added in v.2402

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26