Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3911 → Rev 3912

/branches/network/uspace/srv/net/il/arp/arp_module.h
1,5 → 1,5
/*
* Copyright (c) 2008 Lukas Mejdrech
* Copyright (c) 2009 Lukas Mejdrech
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
30,16 → 30,34
* @{
*/
 
/**
* @file
/** @file
* ARP module functions.
* The functions are used as ARP module entry points.
*/
 
#ifndef __NET_ARP_MODULE_H__
#define __NET_ARP_MODULE_H__
 
#include <errno.h>
 
#include <ipc/ipc.h>
 
/** Initializes the ARP module.
* @returns EOK on success.
* @returns ENOMEM if there is not enough memory left.
*/
int arp_initialize( void );
 
/** Processes the ARP message.
* @param callid The message identifier. Input parameter.
* @param call The message parameters. Input parameter.
* @param answer The message answer parameters. Output parameter.
* @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter.
* \todo all possible message returns?
* @returns EOK on success.
* @returns ENOTSUP if the message is not known.
* @see IS_NET_ARP_MESSAGE()
*/
int arp_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
 
#endif