Changeset 00d7e1b in mainline for uspace/lib/net/include


Ignore:
Timestamp:
2011-10-07T20:20:33Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
49bd793b
Parents:
e2c50e1
Message:

networking improvements

  • start the networking stack from init
  • add loopback network interface driver (cherrypicked and sanitized from lp:~helenos-nicf/helenos/nicf)
  • add libnic and various small pieces from lp:~helenos-nicf/helenos/nicf
  • fix client side of NIC_GET_ADDRESS
  • net binary overhaul

Note: "ping 127.0.0.1" works, but the first three pings timeout for some reason

Location:
uspace/lib/net/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/include/ip_interface.h

    re2c50e1 r00d7e1b  
    4646#define ip_set_gateway_req     ip_set_gateway_req_remote
    4747#define ip_packet_size_req     ip_packet_size_req_remote
    48 #define ip_device_req          ip_device_req_remote
    4948#define ip_add_route_req       ip_add_route_req_remote
    5049#define ip_send_msg            ip_send_msg_remote
  • uspace/lib/net/include/ip_remote.h

    re2c50e1 r00d7e1b  
    4848extern int ip_received_error_msg_remote(async_sess_t *, nic_device_id_t, packet_t *,
    4949    services_t, services_t);
    50 extern int ip_device_req_remote(async_sess_t *, nic_device_id_t, services_t);
     50extern int ip_device_req(async_sess_t *, nic_device_id_t, services_t);
    5151extern int ip_add_route_req_remote(async_sess_t *, nic_device_id_t, in_addr_t,
    5252    in_addr_t, in_addr_t);
  • uspace/lib/net/include/net_checksum.h

    re2c50e1 r00d7e1b  
    6767extern uint16_t flip_checksum(uint16_t);
    6868extern uint16_t ip_checksum(uint8_t *, size_t);
     69extern uint64_t multicast_hash(const uint8_t addr[6]);
    6970
    7071#endif
Note: See TracChangeset for help on using the changeset viewer.