#
173f54f1 |
|
19-Jul-2012 |
Matt Madia <mattmadia@gmail.com> |
Updated copyright in headers. No functional change.
|
#
0fae8733 |
|
03-Nov-2010 |
Scott McCreary <scottmc2@gmail.com> |
Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines. Cleaned up some header style violations, making sure there are two blank lines after the header guards. This fixes the posix header part of #2191. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2b1c0755 |
|
03-Aug-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Renamed the proprietary SIOC_* ioctls to B_SOCKET_* - no reason to pollute global name space, and have ugly identifiers for nothing :-) * Added a flags field to struct ifaliasreq. Added flags to mark an alias that is currently being configured, or has been automatically configured. Those flags aren't used yet, but they will replace IFF_CONFIGURING and friends. * Implemented deleting addresses only from interfaces via ifconfig. * Added more command aliases for delete to ifconfig ("del", and "delete", for more consistency with route). * Fixed control_routes() to only release a reference to an address if it actually got one before. * If an interface address is deleted, its routes are now removed as well. * InterfaceAddress now holds a reference to its interface as planned. * Implemented removing interfaces. Works quite nicely. * When downing an interface, all of its routes are now removed. When upping it again, at least the default routes are added. * datalink.cpp's get_interface_name_or_index() leaked a reference to the interface found. * SIOCAIFADDR would also leak a reference when new addresses were added. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37872 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9d771afb |
|
29-Jul-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Added Haiku specific socket ioctls to configure the interface aliases: SIOC_IF_ALIAS_ADD, SIOC_IF_ALIAS_REMOVE, SIOC_IF_ALIAS_GET, SIOC_ALIAS_SET, and SIOC_IF_ALIAS_COUNT. * Implemented all of those new ioctls, though they are yet untested. * Added ifreq::ifr_data, and removed the hack in the FreeBSD compat if.h header. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37806 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
61729d93 |
|
28-Jul-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Reworked the complete stack to allow more than one address per network interface - this caused quite a number of changes. * Network interfaces, and its addresses are now reference counted (not yet complete, though, InterfaceAddresses need to hold references to their interface as well). * There are two known regressions of this commit that I will fix later: - you cannot remove interfaces anymore - IPv4 multicast was broken anyway, but now it's disabled, too. * Moved a device_interfaces.cpp|h out of interfaces.cpp. * The datalink layer chain is now instantiated per domain per interface, not just per interface anymore. * When a buffer reaches the network layer, it has no known interface yet, ie. the ipv4|6|whatever modules need to set this manually. * Added more debug output, and some new debugger commands, the control option is now printed in clear text. * Added hash_address() function to the address modules. Added "const" to set_to_defaults() where needed. * Fixed net_buffer's restore header functions offset use as reported by Atis. * Improved buffer dump output, use the domain module to print the address if available. * Moved net_buffer::type into the union, as it's not needed by the upper layers anymore. * Moved IPv6 specific code from {add|remove}_default_route() to where it belongs, but disabled it for the time being. * Completely discarded useless ipv4_datagram module. * Added ping6 to the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37794 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
281f1ab8 |
|
10-Dec-2009 |
Colin Günther <coling@gmx.de> |
Choosing an even number for SIOCEND as suggested by François. Thank you. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34625 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b56f3c65 |
|
10-Dec-2009 |
Colin Günther <coling@gmx.de> |
Add two more socket ioctl's as they are needed by the aironet (if_an.c) and wavelan (if_wi.c) drivers I'm currently porting. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34617 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ccc02f71 |
|
10-Dec-2009 |
Colin Günther <coling@gmx.de> |
* Moved socket ioctls from FreeBSD compat layer into the corresponding Haiku header. This shall ensure uniqueness of the ioctls. * Added a special SIOCEND define to Haiku's sockio.h, so that drivers can define private ioctls as can be seen in src/add-ons/kernel/drivers/network/wlan/atheros/dev/ath/if_athioctl.h. * Modified ioccom.h of the FreeBSD compat layer, to make use of the special SIOCEND define. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34612 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0ca53234 |
|
15-Jul-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Changed the enum into defines, so that apps can check whether or not they exist (as mDNSResponder does, for example). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31588 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2d55afcd |
|
31-Mar-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Support getting route information for a specific destination using SIOCGETRT. Patch by Hugo Santos. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20494 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5adca30a |
|
07-Aug-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Merge of branches/team/network/new_stack - not yet complete as SVN does only support replacing files when merging when you don't have deleted them manually (for some reason, it only works as part of the merge operation, and we didn't copy the whole tree to have "a fresh start" - next time we know better, at least if SVN still suffers from that same limitation). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18456 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
549b25ed |
|
11-Aug-2003 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Remove non-posix headers files, moved back to headers/private/net where they belong for the moment. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4273 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0b5170a4 |
|
02-Sep-2002 |
beveloper <beveloper@nowhere.fake> |
modified to support building of libnet git-svn-id: file:///srv/svn/repos/haiku/trunk/current@960 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d3dadb6b |
|
28-Aug-2002 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Forgot to move select.h and sockio.h from old /net_kit tree git-svn-id: file:///srv/svn/repos/haiku/trunk/current@915 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9e588ee |
|
12-Jul-2002 |
David Reid <dreid@nowhere.fake> |
The ioctl defines are just in socket.h now, so no need for a seperate file. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@122 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a38012 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
173f54f1473bd6a6511c5fc6dc899c91fb8dd667 |
|
19-Jul-2012 |
Matt Madia <mattmadia@gmail.com> |
Updated copyright in headers. No functional change.
|
#
0fae873352b02792db93f721c1a2ff6b240c8ecc |
|
03-Nov-2010 |
Scott McCreary <scottmc2@gmail.com> |
Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines. Cleaned up some header style violations, making sure there are two blank lines after the header guards. This fixes the posix header part of #2191. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2b1c0755dd452db665050fdbbe06549e7e8c9c38 |
|
03-Aug-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Renamed the proprietary SIOC_* ioctls to B_SOCKET_* - no reason to pollute global name space, and have ugly identifiers for nothing :-) * Added a flags field to struct ifaliasreq. Added flags to mark an alias that is currently being configured, or has been automatically configured. Those flags aren't used yet, but they will replace IFF_CONFIGURING and friends. * Implemented deleting addresses only from interfaces via ifconfig. * Added more command aliases for delete to ifconfig ("del", and "delete", for more consistency with route). * Fixed control_routes() to only release a reference to an address if it actually got one before. * If an interface address is deleted, its routes are now removed as well. * InterfaceAddress now holds a reference to its interface as planned. * Implemented removing interfaces. Works quite nicely. * When downing an interface, all of its routes are now removed. When upping it again, at least the default routes are added. * datalink.cpp's get_interface_name_or_index() leaked a reference to the interface found. * SIOCAIFADDR would also leak a reference when new addresses were added. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37872 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9d771afb3903b3d3d205cfa108eaebb14d89f7fb |
|
29-Jul-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Added Haiku specific socket ioctls to configure the interface aliases: SIOC_IF_ALIAS_ADD, SIOC_IF_ALIAS_REMOVE, SIOC_IF_ALIAS_GET, SIOC_ALIAS_SET, and SIOC_IF_ALIAS_COUNT. * Implemented all of those new ioctls, though they are yet untested. * Added ifreq::ifr_data, and removed the hack in the FreeBSD compat if.h header. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37806 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
61729d9323a555b9025ef6ebeb85dc1627f8acf7 |
|
28-Jul-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Reworked the complete stack to allow more than one address per network interface - this caused quite a number of changes. * Network interfaces, and its addresses are now reference counted (not yet complete, though, InterfaceAddresses need to hold references to their interface as well). * There are two known regressions of this commit that I will fix later: - you cannot remove interfaces anymore - IPv4 multicast was broken anyway, but now it's disabled, too. * Moved a device_interfaces.cpp|h out of interfaces.cpp. * The datalink layer chain is now instantiated per domain per interface, not just per interface anymore. * When a buffer reaches the network layer, it has no known interface yet, ie. the ipv4|6|whatever modules need to set this manually. * Added more debug output, and some new debugger commands, the control option is now printed in clear text. * Added hash_address() function to the address modules. Added "const" to set_to_defaults() where needed. * Fixed net_buffer's restore header functions offset use as reported by Atis. * Improved buffer dump output, use the domain module to print the address if available. * Moved net_buffer::type into the union, as it's not needed by the upper layers anymore. * Moved IPv6 specific code from {add|remove}_default_route() to where it belongs, but disabled it for the time being. * Completely discarded useless ipv4_datagram module. * Added ping6 to the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37794 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
281f1ab86c9f9c1b272baa1011f5e6613f1e60ee |
|
10-Dec-2009 |
Colin Günther <coling@gmx.de> |
Choosing an even number for SIOCEND as suggested by François. Thank you. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34625 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b56f3c65ff72317cc290a421d364879faba58515 |
|
10-Dec-2009 |
Colin Günther <coling@gmx.de> |
Add two more socket ioctl's as they are needed by the aironet (if_an.c) and wavelan (if_wi.c) drivers I'm currently porting. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34617 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ccc02f719a95d2d4c4a48e65e7ce24342ed0e62e |
|
10-Dec-2009 |
Colin Günther <coling@gmx.de> |
* Moved socket ioctls from FreeBSD compat layer into the corresponding Haiku header. This shall ensure uniqueness of the ioctls. * Added a special SIOCEND define to Haiku's sockio.h, so that drivers can define private ioctls as can be seen in src/add-ons/kernel/drivers/network/wlan/atheros/dev/ath/if_athioctl.h. * Modified ioccom.h of the FreeBSD compat layer, to make use of the special SIOCEND define. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34612 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0ca532347962a09dd9ccf068016de9b6e6d9053b |
|
15-Jul-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Changed the enum into defines, so that apps can check whether or not they exist (as mDNSResponder does, for example). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31588 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2d55afcdf7379a36f3eb63515ef347139949565d |
|
31-Mar-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Support getting route information for a specific destination using SIOCGETRT. Patch by Hugo Santos. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20494 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5adca30a18617cc25bc50a9a12e2fe6539412ccb |
|
07-Aug-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Merge of branches/team/network/new_stack - not yet complete as SVN does only support replacing files when merging when you don't have deleted them manually (for some reason, it only works as part of the merge operation, and we didn't copy the whole tree to have "a fresh start" - next time we know better, at least if SVN still suffers from that same limitation). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18456 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
549b25ed0adc2e4b3f92118a4d229aae3c17f425 |
|
11-Aug-2003 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Remove non-posix headers files, moved back to headers/private/net where they belong for the moment. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4273 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0b5170a447e6bbb212b1eecb53e36584bf59b7cb |
|
02-Sep-2002 |
beveloper <beveloper@nowhere.fake> |
modified to support building of libnet git-svn-id: file:///srv/svn/repos/haiku/trunk/current@960 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d3dadb6b5400005b2334defedbd0a540b6baf14d |
|
28-Aug-2002 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Forgot to move select.h and sockio.h from old /net_kit tree git-svn-id: file:///srv/svn/repos/haiku/trunk/current@915 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9e588eeb1f3652b9ac631176bcb97e21901c9d9 |
|
12-Jul-2002 |
David Reid <dreid@nowhere.fake> |
The ioctl defines are just in socket.h now, so no need for a seperate file. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@122 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a380120846174213ccce9c4aab0dda17c72083 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|