Lines Matching defs:ip
25 {.name = "on-ip", .id = P_ADDR, .type = XTTYPE_HOST},
34 {.name = "on-ip", .id = P_ADDR, .type = XTTYPE_HOST,
46 " --on-ip ip Optionally redirect to the given IP\n"
50 static void tproxy_tg_print(const void *ip, const struct xt_entry_target *target,
61 tproxy_tg_print4(const void *ip, const struct xt_entry_target *target,
74 tproxy_tg_print6(const void *ip, const struct xt_entry_target *target,
86 static void tproxy_tg_save(const void *ip, const struct xt_entry_target *target)
91 printf(" --on-ip %s",
98 tproxy_tg_save4(const void *ip, const struct xt_entry_target *target)
104 printf(" --on-ip %s", xtables_ipaddr_to_numeric(&info->laddr.in));
110 tproxy_tg_save6(const void *ip, const struct xt_entry_target *target)
116 printf(" --on-ip %s", xtables_ip6addr_to_numeric(&info->laddr.in6));
132 info->laddr = cb->val.haddr.ip;