Lines Matching defs:to
53 int ifindex, scope, scopemask, up, to;
158 perror_exit("Unable to send data on socket.");
335 * Used to get the prefix value in binary form.
373 * Used to calculate netmask, which can be in the form of
1015 if (addrinfo.to && strcmp(addrinfo.addr, lbuf))
1228 struct arglist cmd_objectlist[] = {{"to", 0}, {"scope", 1}, {"up", 2},
1250 addrinfo.to = 1;
1362 if (addrinfo.to) {
1404 (TT.flush && addrinfo.to))
1618 perror_exit("Unable to send data on socket.");
1670 {"dev", 3}, {"notify", 4}, {"connected", 5}, {"to", 6}, {NULL, -1}};
1763 {"to", 8}, {"all", 9}, {"root", 10}, {"match", 11}, {"exact", 12},
1896 {"to", 8}, {"metric", 9}, {NULL,-1}
1982 if (ok & dst_ok) error_exit("Duplicate argument 'to'");
2067 "SELECTOR := [ from PREFIX ] [ to PREFIX ] [pref NUMBER] [ tos TOS ]\n"
2077 struct arglist options[] = {{"from", 0}, {"to", 1}, {"preference", 2},
2080 {"nat", 8}, {"map-to", 8}, {"type", 9}, {"help", 10}, {NULL, -1}};
2102 { // e.g. from IP/Netmask and to IP/Netmask.
2186 if (!*++argv) error_exit("Missing nat/map-to ADDRESS");
2248 printf("to %s", (msg->rtm_family == AF_INET || msg->rtm_family == AF_INET6)
2253 printf("to 0/%d ", msg->rtm_dst_len);
2267 u_int32_t from, to = *(u_int32_t *)RTA_DATA(attr[RTA_FLOW]);
2270 to = (from = (to >> 16)) & 0xFFFF;
2272 printf(format, namefromRPDB((from ? from : to), RPDB_rtrealms));
2277 else printf("map-to %s ", inet_ntop(msg->rtm_family,
2410 error_msg("failed to get type of '%s'", iface);
2480 if (ret || !info) error_exit("invalid argument to key");
2629 // Performing add, change, & delete tunnel action, according to passed req_type