Changeset 7e1f9b7 in mainline for uspace/srv/net/nil/eth/eth.c
- Timestamp:
- 2010-11-20T17:10:35Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 32eceb4f, 8b3bff5
- Parents:
- 0b4a67a (diff), dd5046dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/eth/eth.c
r0b4a67a r7e1f9b7 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.