Subversion Repositories HelenOS

Rev

Rev 4704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4704 Rev 4707
Line 53... Line 53...
53
 
53
 
54
int ip_device_req( int ip_phone, device_id_t device_id, services_t service ){
54
int ip_device_req( int ip_phone, device_id_t device_id, services_t service ){
55
    return generic_device_req( ip_phone, NET_IL_DEVICE, device_id, 0, service );
55
    return generic_device_req( ip_phone, NET_IL_DEVICE, device_id, 0, service );
56
}
56
}
57
 
57
 
58
int ip_send_msg( int ip_phone, device_id_t device_id, packet_t packet, services_t sender ){
58
int ip_send_msg( int ip_phone, device_id_t device_id, packet_t packet, services_t sender, services_t error ){
59
    return generic_send_msg( ip_phone, NET_IL_SEND, device_id, packet_get_id( packet ), sender );
59
    return generic_send_msg( ip_phone, NET_IL_SEND, device_id, packet_get_id( packet ), sender, error );
60
}
60
}
61
 
61
 
62
int ip_connect_module( services_t service ){
62
int ip_connect_module( services_t service ){
63
    return connect_to_service( SERVICE_IP );
63
    return connect_to_service( SERVICE_IP );
64
}
64
}
Line 77... Line 77...
77
 
77
 
78
int ip_bind_service( services_t service, int protocol, services_t me, async_client_conn_t receiver, tl_received_msg_t tl_received_msg ){
78
int ip_bind_service( services_t service, int protocol, services_t me, async_client_conn_t receiver, tl_received_msg_t tl_received_msg ){
79
    return ( int ) bind_service( service, ( ipcarg_t ) protocol, me, service, receiver );
79
    return ( int ) bind_service( service, ( ipcarg_t ) protocol, me, service, receiver );
80
}
80
}
81
 
81
 
-
 
82
int ip_received_error_msg( int ip_phone, device_id_t device_id, packet_t packet, services_t target, services_t error ){
-
 
83
    return generic_received_msg( ip_phone, NET_IP_RECEIVED_ERROR, device_id, packet_get_id( packet ), target, error );
-
 
84
}
-
 
85
 
82
/** @}
86
/** @}
83
 */
87
 */