Home
last modified time | relevance | path

Searched refs:tundst (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dipsec.c470 struct in_addr tunsrc, struct in_addr tundst) in tunnel_set_route() argument
478 if (ip4_route_set(route_sock, (*route_seq)++, veth, tunsrc, tundst)) { in tunnel_set_route()
490 struct in_addr tundst = inet_makeaddr(INADDR_A, dst); in init_child() local
512 if (tunnel_set_route(route_sock, &route_seq, veth, tunsrc, tundst)) { in init_child()
1076 struct in_addr tunsrc, struct in_addr tundst, in xfrm_set() argument
1106 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_policy_add() argument
1123 memcpy(&req.info.sel.daddr, &dst, sizeof(tundst)); in xfrm_policy_add()
1162 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_prepare() argument
1165 XFRM_POLICY_OUT, tunsrc, tundst, proto)) { in xfrm_prepare()
1171 XFRM_POLICY_IN, tunsrc, tundst, proto)) { in xfrm_prepare()
[all …]
/linux/net/ipv6/
H A Dioam6_iptunnel.c45 struct in6_addr tundst; member
202 ilwt->tundst = nla_get_in6_addr(tb[IOAM6_IPTUNNEL_DST]); in ioam6_build_state()
204 if (ipv6_addr_any(&ilwt->tundst)) { in ioam6_build_state()
296 struct in6_addr *tundst, in ioam6_do_encap() argument
325 hdr->daddr = *tundst; in ioam6_do_encap()
388 &ilwt->tundst, dst); in ioam6_output()
494 err = nla_put_in6_addr(skb, IOAM6_IPTUNNEL_DST, &ilwt->tundst); in ioam6_fill_encap_info()
519 nlsize += nla_total_size(sizeof(ilwt->tundst)); in ioam6_encap_nlsize()
537 !ipv6_addr_equal(&ilwt_a->tundst, &ilwt_b->tundst)) || in ioam6_encap_cmp()