Changeset dac1edb in rtems
- Timestamp:
- Dec 2, 2004, 6:42:53 PM (16 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 78219ad1
- Parents:
- cbd7691
- Location:
- cpukit
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
rcbd7691 rdac1edb 1 2004-12-02 Ralf Corsepius <ralf.corsepius@rtems.org> 2 3 * libnetworking/net/radix.c, libnetworking/net/radix.h, 4 libnetworking/net/route.h, libnetworking/netinet/if_ether.h, 5 libnetworking/netinet/in_var.h, libnetworking/netinet/tcp_timer.h, 6 libnetworking/netinet/udp_usrreq.c, libnetworking/netinet/udp_var.h, 7 libnetworking/sys/callout.h, libnetworking/sys/socketvar.h, 8 libnetworking/sys/sysctl.h: Cosmetics from FreeBSD. 9 1 10 2004-12-02 Ralf Corsepius <ralf.corsepius@rtems.org> 2 11 -
cpukit/libnetworking/net/radix.c
rcbd7691 rdac1edb 11 11 * notice, this list of conditions and the following disclaimer in the 12 12 * documentation and/or other materials provided with the distribution. 13 * 3. All advertising materials mentioning features or use of this software14 * must display the following acknowledgement:15 * This product includes software developed by the University of16 * California, Berkeley and its contributors.17 13 * 4. Neither the name of the University nor the names of its contributors 18 14 * may be used to endorse or promote products derived from this software … … 32 28 * 33 29 * @(#)radix.c 8.5 (Berkeley) 5/19/95 34 * $FreeBSD: src/sys/net/radix.c,v 1.3 2 2003/09/22 23:24:18 peterExp $30 * $FreeBSD: src/sys/net/radix.c,v 1.36 2004/04/21 15:27:36 luigi Exp $ 35 31 */ 36 32 -
cpukit/libnetworking/net/radix.h
rcbd7691 rdac1edb 11 11 * notice, this list of conditions and the following disclaimer in the 12 12 * documentation and/or other materials provided with the distribution. 13 * 3. All advertising materials mentioning features or use of this software14 * must display the following acknowledgement:15 * This product includes software developed by the University of16 * California, Berkeley and its contributors.17 13 * 4. Neither the name of the University nor the names of its contributors 18 14 * may be used to endorse or promote products derived from this software … … 32 28 * 33 29 * @(#)radix.h 8.2 (Berkeley) 10/31/94 34 * $FreeBSD: src/sys/net/radix.h,v 1.2 3 2003/08/19 17:23:07 samExp $30 * $FreeBSD: src/sys/net/radix.h,v 1.25 2004/04/18 11:48:35 luigi Exp $ 35 31 */ 36 32 -
cpukit/libnetworking/net/route.h
rcbd7691 rdac1edb 11 11 * notice, this list of conditions and the following disclaimer in the 12 12 * documentation and/or other materials provided with the distribution. 13 * 3. All advertising materials mentioning features or use of this software14 * must display the following acknowledgement:15 * This product includes software developed by the University of16 * California, Berkeley and its contributors.17 13 * 4. Neither the name of the University nor the names of its contributors 18 14 * may be used to endorse or promote products derived from this software … … 31 27 * SUCH DAMAGE. 32 28 * 33 * @(#)route.h 8.3 (Berkeley) 4/19/94 29 * @(#)route.h 8.4 (Berkeley) 1/9/95 30 * $FreeBSD: src/sys/net/route.h,v 1.62 2004/10/05 19:48:33 sam Exp $ 31 */ 32 33 /* 34 34 * $Id$ 35 35 */ … … 59 59 * retransmission behavior and are included in the routing structure. 60 60 */ 61 struct rt_metrics_lite { 62 u_long rmx_mtu; /* MTU for this path */ 63 u_long rmx_expire; /* lifetime for route, e.g. redirect */ 64 u_long rmx_pksent; /* packets sent using this route */ 65 }; 66 61 67 struct rt_metrics { 62 68 u_long rmx_locks; /* Kernel must leave these values alone */ … … 141 147 #define RTF_MODIFIED 0x20 /* modified dynamically (by redirect) */ 142 148 #define RTF_DONE 0x40 /* message confirmed */ 143 /* 0x80 unused */149 /* 0x80 unused, was RTF_DELCLONE */ 144 150 #define RTF_CLONING 0x100 /* generate new routes on use */ 145 151 #define RTF_XRESOLVE 0x200 /* external daemon resolves name */ … … 190 196 #define RTM_VERSION 5 /* Up the ante and ignore older versions */ 191 197 198 /* 199 * Message types. 200 */ 192 201 #define RTM_ADD 0x1 /* Add Route */ 193 202 #define RTM_DELETE 0x2 /* Delete Route */ … … 204 213 #define RTM_DELADDR 0xd /* address being removed from iface */ 205 214 #define RTM_IFINFO 0xe /* iface going up/down etc. */ 206 215 #define RTM_NEWMADDR 0xf /* mcast group membership being added to if */ 216 #define RTM_DELMADDR 0x10 /* mcast group membership being deleted */ 217 #define RTM_IFANNOUNCE 0x11 /* iface arrival/departure */ 218 #define RTM_IEEE80211 0x12 /* IEEE80211 wireless event */ 219 220 /* 221 * Bitmask values for rtm_inits and rmx_locks. 222 */ 207 223 #define RTV_MTU 0x1 /* init or lock _mtu */ 208 224 #define RTV_HOPCOUNT 0x2 /* init or lock _hopcount */ 209 #define RTV_EXPIRE 0x4 /* init or lock _ hopcount*/225 #define RTV_EXPIRE 0x4 /* init or lock _expire */ 210 226 #define RTV_RPIPE 0x8 /* init or lock _recvpipe */ 211 227 #define RTV_SPIPE 0x10 /* init or lock _sendpipe */ … … 215 231 216 232 /* 217 * Bitmask values for rtm_addr .233 * Bitmask values for rtm_addrs. 218 234 */ 219 235 #define RTA_DST 0x1 /* destination sockaddr present */ … … 262 278 263 279 extern struct route_cb route_cb; 264 extern struct rtstat rtstat;265 280 extern struct radix_node_head *rt_tables[AF_MAX+1]; 266 281 -
cpukit/libnetworking/netinet/if_ether.h
rcbd7691 rdac1edb 11 11 * notice, this list of conditions and the following disclaimer in the 12 12 * documentation and/or other materials provided with the distribution. 13 * 3. All advertising materials mentioning features or use of this software14 * must display the following acknowledgement:15 * This product includes software developed by the University of16 * California, Berkeley and its contributors.17 13 * 4. Neither the name of the University nor the names of its contributors 18 14 * may be used to endorse or promote products derived from this software … … 32 28 * 33 29 * @(#)if_ether.h 8.3 (Berkeley) 5/2/95 30 * $FreeBSD: src/sys/netinet/if_ether.h,v 1.30 2004/04/07 20:46:13 imp Exp $ 31 */ 32 33 /* 34 34 * $Id$ 35 35 */ … … 38 38 #define _NETINET_IF_ETHER_H_ 39 39 40 #include <netinet/in.h>41 40 #include <net/ethernet.h> 41 #include <net/if_arp.h> 42 42 43 43 #define ETHERTYPE_PUP 0x0200 /* PUP protocol */ -
cpukit/libnetworking/netinet/in_var.h
rcbd7691 rdac1edb 11 11 * notice, this list of conditions and the following disclaimer in the 12 12 * documentation and/or other materials provided with the distribution. 13 * 3. All advertising materials mentioning features or use of this software14 * must display the following acknowledgement:15 * This product includes software developed by the University of16 * California, Berkeley and its contributors.17 13 * 4. Neither the name of the University nor the names of its contributors 18 14 * may be used to endorse or promote products derived from this software … … 32 28 * 33 29 * @(#)in_var.h 8.2 (Berkeley) 1/9/95 34 * $Id$30 * $FreeBSD: src/sys/netinet/in_var.h,v 1.52 2004/10/19 21:06:14 andre Exp $ 35 31 */ 36 32 … … 39 35 40 36 #include <sys/queue.h> 37 #if !defined(__rtems__) 38 #include <sys/fnv_hash.h> 39 #endif 41 40 42 41 /* 43 42 * Interface address, Internet version. One of these structures 44 * is allocated for each interface with an Internet address.43 * is allocated for each Internet address on an interface. 45 44 * The ifaddr structure contains the protocol-independent part 46 45 * of the structure and is assumed to be first. -
cpukit/libnetworking/netinet/tcp_timer.h
rcbd7691 rdac1edb 11 11 * notice, this list of conditions and the following disclaimer in the 12 12 * documentation and/or other materials provided with the distribution. 13 * 3. All advertising materials mentioning features or use of this software14 * must display the following acknowledgement:15 * This product includes software developed by the University of16 * California, Berkeley and its contributors.17 13 * 4. Neither the name of the University nor the names of its contributors 18 14 * may be used to endorse or promote products derived from this software … … 32 28 * 33 29 * @(#)tcp_timer.h 8.1 (Berkeley) 6/10/93 34 * $Id$30 * $FreeBSD: src/sys/netinet/tcp_timer.h,v 1.26 2004/08/16 18:32:07 rwatson Exp $ 35 31 */ 36 32 -
cpukit/libnetworking/netinet/udp_usrreq.c
rcbd7691 rdac1edb 11 11 * notice, this list of conditions and the following disclaimer in the 12 12 * documentation and/or other materials provided with the distribution. 13 * 3. All advertising materials mentioning features or use of this software14 * must display the following acknowledgement:15 * This product includes software developed by the University of16 * California, Berkeley and its contributors.17 13 * 4. Neither the name of the University nor the names of its contributors 18 14 * may be used to endorse or promote products derived from this software … … 32 28 * 33 29 * @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95 34 * $Id$30 * $FreeBSD: src/sys/netinet/udp_usrreq.c,v 1.170 2004/11/08 14:44:53 phk Exp $ 35 31 */ 36 32 -
cpukit/libnetworking/netinet/udp_var.h
rcbd7691 rdac1edb 11 11 * notice, this list of conditions and the following disclaimer in the 12 12 * documentation and/or other materials provided with the distribution. 13 * 3. All advertising materials mentioning features or use of this software14 * must display the following acknowledgement:15 * This product includes software developed by the University of16 * California, Berkeley and its contributors.17 13 * 4. Neither the name of the University nor the names of its contributors 18 14 * may be used to endorse or promote products derived from this software … … 32 28 * 33 29 * @(#)udp_var.h 8.1 (Berkeley) 6/10/93 34 * $ Id$30 * $FreeBSD: src/sys/netinet/udp_var.h,v 1.28 2004/08/16 18:32:07 rwatson Exp $ 35 31 */ 36 32 -
cpukit/libnetworking/sys/callout.h
rcbd7691 rdac1edb 16 16 * notice, this list of conditions and the following disclaimer in the 17 17 * documentation and/or other materials provided with the distribution. 18 * 3. All advertising materials mentioning features or use of this software19 * must display the following acknowledgement:20 * This product includes software developed by the University of21 * California, Berkeley and its contributors.22 18 * 4. Neither the name of the University nor the names of its contributors 23 19 * may be used to endorse or promote products derived from this software … … 37 33 * 38 34 * @(#)callout.h 8.2 (Berkeley) 1/21/94 39 * $ Id$35 * $FreeBSD: src/sys/sys/callout.h,v 1.27 2004/04/20 15:49:31 cperciva Exp $ 40 36 */ 41 37 -
cpukit/libnetworking/sys/socketvar.h
rcbd7691 rdac1edb 13 13 * notice, this list of conditions and the following disclaimer in the 14 14 * documentation and/or other materials provided with the distribution. 15 * 3. All advertising materials mentioning features or use of this software16 * must display the following acknowledgement:17 * This product includes software developed by the University of18 * California, Berkeley and its contributors.19 15 * 4. Neither the name of the University nor the names of its contributors 20 16 * may be used to endorse or promote products derived from this software … … 34 30 * 35 31 * @(#)socketvar.h 8.3 (Berkeley) 2/19/95 36 * $FreeBSD: src/sys/sys/socketvar.h,v 1.1 10 2004/03/01 03:14:23 rwatson Exp $32 * $FreeBSD: src/sys/sys/socketvar.h,v 1.135 2004/10/18 22:19:43 rwatson Exp $ 37 33 */ 38 34 -
cpukit/libnetworking/sys/sysctl.h
rcbd7691 rdac1edb 31 31 * 32 32 * @(#)sysctl.h 8.1 (Berkeley) 6/2/93 33 * $FreeBSD: src/sys/sys/sysctl.h,v 1.1 28 2004/04/07 04:19:49 impExp $33 * $FreeBSD: src/sys/sys/sysctl.h,v 1.133 2004/10/11 22:04:16 peter Exp $ 34 34 */ 35 35 … … 103 103 * be implemented. 104 104 * e.g. SYSCTL_INT(_parent, OID_AUTO, name, CTLFLAG_RW, &variable, 0, ""); 105 */ 105 */ 106 106 #define OID_AUTO (-1) 107 107 … … 352 352 #define KERN_MAXFILESPERPROC 27 /* int: max open files per proc */ 353 353 #define KERN_MAXPROCPERUID 28 /* int: max processes per uid */ 354 #define KERN_DUMPDEV 29 /* dev_t: device to dump on */354 #define KERN_DUMPDEV 29 /* struct cdev *: device to dump on */ 355 355 #define KERN_IPC 30 /* node: anything related to IPC */ 356 356 #define KERN_DUMMY 31 /* unused */ … … 359 359 #define KERN_LOGSIGEXIT 34 /* int: do we log sigexit procs? */ 360 360 #define KERN_IOV_MAX 35 /* int: value of UIO_MAXIOV */ 361 #define KERN_MAXID 36 361 #define KERN_MAXID 36 /* number of valid kern ids */ 362 362 363 363 #define CTL_KERN_NAMES { \ … … 419 419 #define KERN_PROC_PROC 8 /* only return procs */ 420 420 #define KERN_PROC_SV_NAME 9 /* get syscall vector name */ 421 #define KERN_PROC_RGID 10 /* by real group id */ 422 #define KERN_PROC_GID 11 /* by effective group id */ 421 423 #define KERN_PROC_INC_THREAD 0x10 /* 422 424 * modifier for pid, pgrp, tty, 423 * uid, ruid, and proc425 * uid, ruid, gid, rgid and proc 424 426 */ 425 427
Note: See TracChangeset
for help on using the changeset viewer.