[haiku-bugs] Re: [Haiku] #5716: [RFC][PATCH][gsoc2010] Enhancements in networking code

  • From: "atis.elsts" <trac@xxxxxxxxxxxx>
  • Date: Mon, 12 Apr 2010 11:26:13 -0000

#5716: [RFC][PATCH][gsoc2010] Enhancements in networking code
--------------------------------+-------------------------------------------
 Reporter:  atis.elsts          |       Owner:  nobody   
     Type:  enhancement         |      Status:  new      
 Priority:  normal              |   Milestone:  R1       
Component:  Network & Internet  |     Version:  R1/alpha1
 Keywords:                      |   Blockedby:           
 Platform:  All                 |    Blocking:           
--------------------------------+-------------------------------------------

Comment(by atis.elsts):

 The patch also adds two new funcion pointers to struct
 net_datalink_module_info:
         bool (*is_same_family)(const sockaddr *address);
 and
         void (*get_loopback_address)(sockaddr *result);

 It implements is_same_family() function for IPv4, UNIX, and L2CAP address
 families, and get_loopback_address() function for IPv4 address family.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5716#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: