#ifndef __ADD_GATEWAY_NODE_H__ #define __ADD_GATEWAY_NODE_H__ #include #include #include #include /******************************************************************************* sys_add_gateway_node() gw = new gateway node action = {0 => delete, 1 = add} internally the function checks whether AT_ROUTING is on => 1 or off => 0 off implies the syscall should always return -1; *******************************************************************************/ /*asmlinkage int sys_add_gateway_node(uint32_t gw, int action);*/ _syscall2(int, add_routable_node, uint32_t, arg1, int, arg2); #endif /* __ADD_GATEWAY_NODE_H__*/