Changes in uspace/srv/net/nil/eth/eth.c [1bfd3d3:46d4d9f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/eth/eth.c
r1bfd3d3 r46d4d9f 234 234 static void eth_receiver(ipc_callid_t iid, ipc_call_t *icall) 235 235 { 236 packet_t packet;236 packet_t *packet; 237 237 int rc; 238 238 … … 429 429 * @return NULL if the packet address length is not big enough. 430 430 */ 431 static eth_proto_t *eth_process_packet(int flags, packet_t packet)431 static eth_proto_t *eth_process_packet(int flags, packet_t *packet) 432 432 { 433 433 eth_header_snap_t *header; … … 509 509 510 510 int 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) 512 512 { 513 513 eth_proto_t *proto; 514 packet_t next;514 packet_t *next; 515 515 eth_device_t *device; 516 516 int flags; … … 680 680 */ 681 681 static int 682 eth_prepare_packet(int flags, packet_t packet, uint8_t *src_addr, int ethertype,682 eth_prepare_packet(int flags, packet_t *packet, uint8_t *src_addr, int ethertype, 683 683 size_t mtu) 684 684 { … … 787 787 * @return EINVAL if the service parameter is not known. 788 788 */ 789 static int eth_send_message(device_id_t device_id, packet_t packet,789 static int eth_send_message(device_id_t device_id, packet_t *packet, 790 790 services_t sender) 791 791 { 792 792 eth_device_t *device; 793 packet_t next;794 packet_t tmp;793 packet_t *next; 794 packet_t *tmp; 795 795 int ethertype; 796 796 int rc; … … 841 841 { 842 842 measured_string_t *address; 843 packet_t packet;843 packet_t *packet; 844 844 size_t addrlen; 845 845 size_t prefix;
Note:
See TracChangeset
for help on using the changeset viewer.