Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys based on recent discussion on ipngwg, use XNET defin...
details: https://anonhg.NetBSD.org/src/rev/2dcb20222518
branches: trunk
changeset: 479723:2dcb20222518
user: itojun <itojun%NetBSD.org@localhost>
date: Mon Dec 20 06:18:45 1999 +0000
description:
based on recent discussion on ipngwg, use XNET definition for
sockaddr_storage. next revision of RFC2553 will be using this.
ss_len and ss_family are now available for userland programmers.
diffstat:
sys/sys/socket.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 3fe02f34c797 -r 2dcb20222518 sys/sys/socket.h
--- a/sys/sys/socket.h Mon Dec 20 05:50:47 1999 +0000
+++ b/sys/sys/socket.h Mon Dec 20 06:18:45 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: socket.h,v 1.47 1999/11/19 10:41:41 bouyer Exp $ */
+/* $NetBSD: socket.h,v 1.48 1999/12/20 06:18:45 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -207,8 +207,8 @@
#if !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 500
struct sockaddr_storage {
- u_char __ss_len; /* address length */
- u_char __ss_family; /* address family */
+ u_char ss_len; /* address length */
+ u_char ss_family; /* address family */
char __ss_pad1[_SS_PAD1SIZE];
int64_t __ss_align; /* force desired structure storage alignment */
char __ss_pad2[_SS_PAD2SIZE];
Home |
Main Index |
Thread Index |
Old Index