search for: rtentry

Displaying 14 results from an estimated 14 matches for "rtentry".

Did you mean: reentry
2001 Jan 30
1
Tru64
...LDAP (got an error using --with-ldap): ============================================================================ ==== Compiling nmbd/nmbd_nameregister.c In file included from include/includes.h:258, from nmbd/nmbd_nameregister.c:25: /usr/include/net/if.h:182: warning: `struct rtentry' declared inside parameter list /usr/include/net/if.h:182: warning: its scope is only this definition or declaration, /usr/include/net/if.h:182: warning: which is probably not what you want. /usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter list In file included fr...
2008 Aug 21
0
working around TOE bug
...I do, apart from applying # diff -u src/sys/netinet/tcp_offload.c src/sys/netinet/tcp_offload.c.disable --- src/sys/netinet/tcp_offload.c 2008-07-31 18:25:51.000000000 -0400 +++ src/sys/netinet/tcp_offload.c.disable 2008-08-21 09:39:07.000000000 -0400 @@ -58,6 +58,8 @@ struct rtentry *rt; int error; + return (EINVAL); + /* * Look up the route used for the connection to * determine if it uses an interface capable of is there a better way to disable it ? Does having it in cause any performance issues ? ---Mike ------------...
1998 Nov 24
0
Samba 2.0 Beta2 released !
...ards, The Samba Team. ----------------------------------------------------------- Issues fixed between Beta1 and Beta2 ------------------------------------ 1). Many autoconf issues (too many to list here). 2). Correctly set default printing for AIX. 3). Attempt to fix struct rtentry not being defined problem. 4). Convert all open() style calls to wrappers for 64 bit systems. 5). Get more 'const' correct. 6). Fix bug with O_EXCL not being set on exlusive open requests. 7). Fix string_sub() problem with LinPopup. 8). Fix lmhosts bug causing only 3 character names to be l...
1998 Dec 08
0
Samba 2.0 Beta23 released !
.... 17). New SWAT icons. ----------------------------------------------------------- Issues fixed between Beta1 and Beta2 ------------------------------------ 1). Many autoconf issues (too many to list here). 2). Correctly set default printing for AIX. 3). Attempt to fix struct rtentry not being defined problem. 4). Convert all open() style calls to wrappers for 64 bit systems. 5). Get more 'const' correct. 6). Fix bug with O_EXCL not being set on exlusive open requests. 7). Fix string_sub() problem with LinPopup. 8). Fix lmhosts bug causing only 3 character names to be l...
2017 Dec 19
0
[PATCH] Implement classless static routes
...4 --- a/usr/kinit/ipconfig/netdev.c +++ b/usr/kinit/ipconfig/netdev.c @@ -88,23 +88,40 @@ static void set_s_addr(struct sockaddr *saddr, uint32_t ipaddr) memcpy(saddr, &sin, sizeof sin); } -int netdev_setdefaultroute(struct netdev *dev) +int netdev_setroutes(struct netdev *dev) { struct rtentry r; - if (dev->ip_gateway == INADDR_ANY) - return 0; - - memset(&r, 0, sizeof(r)); - - set_s_addr(&r.rt_dst, INADDR_ANY); - set_s_addr(&r.rt_gateway, dev->ip_gateway); - set_s_addr(&r.rt_genmask, INADDR_ANY); - r.rt_flags = RTF_UP | RTF_GATEWAY; - - if (ioctl(cfd, SIOCADDRT,...
1998 Dec 15
0
Samba 2.0.0beta4 released.
.... 17). New SWAT icons. ----------------------------------------------------------- Issues fixed between Beta1 and Beta2 ------------------------------------ 1). Many autoconf issues (too many to list here). 2). Correctly set default printing for AIX. 3). Attempt to fix struct rtentry not being defined problem. 4). Convert all open() style calls to wrappers for 64 bit systems. 5). Get more 'const' correct. 6). Fix bug with O_EXCL not being set on exlusive open requests. 7). Fix string_sub() problem with LinPopup. 8). Fix lmhosts bug causing only 3 character names to be l...
2018 Jun 12
0
[PATCH v2] Implement classless static routes
...lt;string.h> #include <unistd.h> #include <net/if.h> @@ -88,23 +89,48 @@ static void set_s_addr(struct sockaddr *saddr, uint32_t ipaddr) memcpy(saddr, &sin, sizeof sin); } -int netdev_setdefaultroute(struct netdev *dev) +int netdev_setroutes(struct netdev *dev) { struct rtentry r; - if (dev->ip_gateway == INADDR_ANY) - return 0; - - memset(&r, 0, sizeof(r)); - - set_s_addr(&r.rt_dst, INADDR_ANY); - set_s_addr(&r.rt_gateway, dev->ip_gateway); - set_s_addr(&r.rt_genmask, INADDR_ANY); - r.rt_flags = RTF_UP | RTF_GATEWAY; - - if (ioctl(cfd, SIOCADDRT,...
2019 Jan 18
0
[klibc:master] ipconfig: Implement classless static routes
...4 --- a/usr/kinit/ipconfig/netdev.c +++ b/usr/kinit/ipconfig/netdev.c @@ -88,23 +88,44 @@ static void set_s_addr(struct sockaddr *saddr, uint32_t ipaddr) memcpy(saddr, &sin, sizeof sin); } -int netdev_setdefaultroute(struct netdev *dev) +int netdev_setroutes(struct netdev *dev) { struct rtentry r; - if (dev->ip_gateway == INADDR_ANY) - return 0; - - memset(&r, 0, sizeof(r)); - - set_s_addr(&r.rt_dst, INADDR_ANY); - set_s_addr(&r.rt_gateway, dev->ip_gateway); - set_s_addr(&r.rt_genmask, INADDR_ANY); - r.rt_flags = RTF_UP | RTF_GATEWAY; - - if (ioctl(cfd, SIOCADDRT,...
1998 Dec 31
0
Samba 2.0.0 Beta5 released.
.... 17). New SWAT icons. ----------------------------------------------------------- Issues fixed between Beta1 and Beta2 ------------------------------------ 1). Many autoconf issues (too many to list here). 2). Correctly set default printing for AIX. 3). Attempt to fix struct rtentry not being defined problem. 4). Convert all open() style calls to wrappers for 64 bit systems. 5). Get more 'const' correct. 6). Fix bug with O_EXCL not being set on exlusive open requests. 7). Fix string_sub() problem with LinPopup. 8). Fix lmhosts bug causing only 3 character names to be l...
2018 Jun 18
1
[PATCH v3 1/2] Implement classless static routes
...4 --- a/usr/kinit/ipconfig/netdev.c +++ b/usr/kinit/ipconfig/netdev.c @@ -88,23 +88,44 @@ static void set_s_addr(struct sockaddr *saddr, uint32_t ipaddr) memcpy(saddr, &sin, sizeof sin); } -int netdev_setdefaultroute(struct netdev *dev) +int netdev_setroutes(struct netdev *dev) { struct rtentry r; - if (dev->ip_gateway == INADDR_ANY) - return 0; - - memset(&r, 0, sizeof(r)); - - set_s_addr(&r.rt_dst, INADDR_ANY); - set_s_addr(&r.rt_gateway, dev->ip_gateway); - set_s_addr(&r.rt_genmask, INADDR_ANY); - r.rt_flags = RTF_UP | RTF_GATEWAY; - - if (ioctl(cfd, SIOCADDRT,...
1999 Jan 04
1
SAMBA digest 1926
...-------------------------------------------------- > > Issues fixed between Beta1 and Beta2 > ------------------------------------ > > 1). Many autoconf issues (too many to list here). > 2). Correctly set default printing for AIX. > 3). Attempt to fix struct rtentry not being defined problem. > 4). Convert all open() style calls to wrappers for 64 bit systems. > 5). Get more 'const' correct. > 6). Fix bug with O_EXCL not being set on exlusive open requests. > 7). Fix string_sub() problem with LinPopup. > 8). Fix lmhosts bug causing only...
2003 May 22
0
[PATCH 2.5.69 1/3] remove ipconfig support from the kernel
...; - sin->sin_port = port; -} - -static int __init ic_dev_ioctl(unsigned int cmd, struct ifreq *arg) -{ - int res; - - mm_segment_t oldfs = get_fs(); - set_fs(get_ds()); - res = devinet_ioctl(cmd, arg); - set_fs(oldfs); - return res; -} - -static int __init ic_route_ioctl(unsigned int cmd, struct rtentry *arg) -{ - int res; - - mm_segment_t oldfs = get_fs(); - set_fs(get_ds()); - res = ip_rt_ioctl(cmd, arg); - set_fs(oldfs); - return res; -} - -/* - * Set up interface addresses and routes. - */ - -static int __init ic_setup_if(void) -{ - struct ifreq ir; - struct sockaddr_in *sin = (void *) &ir...
2006 Mar 17
1
Fatal trap 12: page fault while in kernel mode / current process=12 (swi1: net)
this is 6.0-STABLE as for Mar 17. KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-PRERELEASE #2: Fri Mar 17 11:05:32 UTC 2006 vlad@host:/usr/src/sys/amd64/compile/DEF_WEB Timecounter
2006 Apr 12
1
powerd not behaving with an Asus A8V-MX and Athlon 64 X2 3800+
...1 vm.zone: ITEM SIZE LIMIT USED FREE REQUESTS FFS2 dinode: 256, 0, 484, 26, 498 FFS1 dinode: 128, 0, 0, 0, 0 FFS inode: 132, 0, 484, 67, 498 SWAPMETA: 276, 121576, 0, 0, 0 rtentry: 132, 0, 13, 74, 14 unpcb: 140, 25620, 14, 70, 39 ripcb: 180, 12342, 0, 0, 0 sackhole: 20, 0, 0, 0, 0 tcpreass: 20, 1690, 0, 0, 0 hostcache: 76,...