Lines Matching defs:action
67 i_ipadm_rtioctl4(int rtsock, int action, in_addr_t dst, in_addr_t gate,
90 w.w_rtm.rtm_type = action;
94 if (metric != 0 || action == RTM_CHANGE) {
125 if (errno == ESRCH && (action == RTM_CHANGE ||
126 action == RTM_DELETE)) {
127 if (action == RTM_CHANGE) {
128 action = RTM_ADD;
132 } else if (errno == EEXIST && action == RTM_ADD) {
144 i_ipadm_rtioctl6(int rtsock, int action, in6_addr_t dst, in6_addr_t gate,
167 w.w_rtm.rtm_type = action;
200 if (errno == ESRCH && (action == RTM_CHANGE ||
201 action == RTM_DELETE)) {
202 if (action == RTM_CHANGE) {
203 action = RTM_ADD;
207 } else if (errno == EEXIST && action == RTM_ADD) {