renwei1986 于 2008-06-16 11:07:11发表:
谢谢你
黄富强 于 2008-06-16 11:04:07发表:
struct sockaddr_in { 182 sa_family_t sin_family; /* Address family */ 183 __be16 sin_port; /* Port number */ 184 struct in_addr sin_addr; /* Internet address */ 185 186 /* Pad to size of `struct sockaddr'. */ 187 unsigned char __pad[__SOCK_SIZE__ - sizeof(short int) - 188 sizeof(unsigned short int) - sizeof(struct in_addr)]; 189}; http://lxr.linux.no/linux/[ 本帖最后由 黄富强 于 2008-6-16 11:07 编辑 ]
renwei1986 于 2008-06-16 11:07:11发表:
谢谢你
黄富强 于 2008-06-16 11:04:07发表:
struct sockaddr_in {
182 sa_family_t sin_family; /* Address family */
183 __be16 sin_port; /* Port number */
184 struct in_addr sin_addr; /* Internet address */
185
186 /* Pad to size of `struct sockaddr'. */
187 unsigned char __pad[__SOCK_SIZE__ - sizeof(short int) -
188 sizeof(unsigned short int) - sizeof(struct in_addr)];
189};
http://lxr.linux.no/linux/
[ 本帖最后由 黄富强 于 2008-6-16 11:07 编辑 ]