Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/eth/eth.c

    r1bfd3d3 r46d4d9f  
    234234static void eth_receiver(ipc_callid_t iid, ipc_call_t *icall)
    235235{
    236         packet_t packet;
     236        packet_t *packet;
    237237        int rc;
    238238
     
    429429 * @return              NULL if the packet address length is not big enough.
    430430 */
    431 static eth_proto_t *eth_process_packet(int flags, packet_t packet)
     431static eth_proto_t *eth_process_packet(int flags, packet_t *packet)
    432432{
    433433        eth_header_snap_t *header;
     
    509509
    510510int nil_received_msg_local(int nil_phone, device_id_t device_id,
    511     packet_t packet, services_t target)
     511    packet_t *packet, services_t target)
    512512{
    513513        eth_proto_t *proto;
    514         packet_t next;
     514        packet_t *next;
    515515        eth_device_t *device;
    516516        int flags;
     
    680680 */
    681681static int
    682 eth_prepare_packet(int flags, packet_t packet, uint8_t *src_addr, int ethertype,
     682eth_prepare_packet(int flags, packet_t *packet, uint8_t *src_addr, int ethertype,
    683683    size_t mtu)
    684684{
     
    787787 * @return              EINVAL if the service parameter is not known.
    788788 */
    789 static int eth_send_message(device_id_t device_id, packet_t packet,
     789static int eth_send_message(device_id_t device_id, packet_t *packet,
    790790    services_t sender)
    791791{
    792792        eth_device_t *device;
    793         packet_t next;
    794         packet_t tmp;
     793        packet_t *next;
     794        packet_t *tmp;
    795795        int ethertype;
    796796        int rc;
     
    841841{
    842842        measured_string_t *address;
    843         packet_t packet;
     843        packet_t *packet;
    844844        size_t addrlen;
    845845        size_t prefix;
Note: See TracChangeset for help on using the changeset viewer.