Searched refs:tunsrc (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/net/ipv6/ |
D | ioam6_iptunnel.c | 46 struct in6_addr tunsrc; member 192 ilwt->tunsrc = nla_get_in6_addr(tb[IOAM6_IPTUNNEL_SRC]); in ioam6_build_state() 194 if (ipv6_addr_any(&ilwt->tunsrc)) { in ioam6_build_state() 295 struct in6_addr *tunsrc, in ioam6_do_encap() argument 327 memcpy(&hdr->saddr, tunsrc, sizeof(*tunsrc)); in ioam6_do_encap() 373 ilwt->has_tunsrc, &ilwt->tunsrc, in ioam6_output() 462 &ilwt->tunsrc); in ioam6_fill_encap_info() 490 nlsize += nla_total_size(sizeof(ilwt->tunsrc)); in ioam6_encap_nlsize() 513 !ipv6_addr_equal(&ilwt_a->tunsrc, &ilwt_b->tunsrc)) || in ioam6_encap_cmp()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | ipsec.c | 465 struct in_addr tunsrc, struct in_addr tundst) in tunnel_set_route() argument 468 tunsrc, PREFIX_LEN)) { in tunnel_set_route() 473 if (ip4_route_set(route_sock, (*route_seq)++, veth, tunsrc, tundst)) { in tunnel_set_route() 484 struct in_addr tunsrc = inet_makeaddr(INADDR_A, src); in init_child() local 507 if (tunnel_set_route(route_sock, &route_seq, veth, tunsrc, tundst)) { in init_child() 1068 struct in_addr tunsrc, struct in_addr tundst, in xfrm_set() argument 1098 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_policy_add() argument 1116 memcpy(&req.info.sel.saddr, &src, sizeof(tunsrc)); in xfrm_policy_add() 1154 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_prepare() argument 1157 XFRM_POLICY_OUT, tunsrc, tundst, proto)) { in xfrm_prepare() [all …]
|