Lines Matching refs:tundst

427 		struct in_addr tunsrc, struct in_addr tundst)  in tunnel_set_route()  argument
435 if (ip4_route_set(route_sock, (*route_seq)++, veth, tunsrc, tundst)) { in tunnel_set_route()
447 struct in_addr tundst = inet_makeaddr(INADDR_A, dst); in init_child() local
469 if (tunnel_set_route(route_sock, &route_seq, veth, tunsrc, tundst)) { in init_child()
1080 struct in_addr tunsrc, struct in_addr tundst, in xfrm_set() argument
1110 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_policy_add() argument
1127 memcpy(&req.info.sel.daddr, &dst, sizeof(tundst)); in xfrm_policy_add()
1166 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_prepare() argument
1169 XFRM_POLICY_OUT, tunsrc, tundst, proto)) { in xfrm_prepare()
1175 XFRM_POLICY_IN, tunsrc, tundst, proto)) { in xfrm_prepare()
1185 struct in_addr tunsrc, struct in_addr tundst) in xfrm_policy_del() argument
1200 memcpy(&req.id.sel.daddr, &dst, sizeof(tundst)); in xfrm_policy_del()
1217 struct in_addr tunsrc, struct in_addr tundst) in xfrm_cleanup() argument
1220 XFRM_POLICY_OUT, tunsrc, tundst)) { in xfrm_cleanup()
1226 XFRM_POLICY_IN, tunsrc, tundst)) { in xfrm_cleanup()
1270 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_delete() argument
1528 struct in_addr src, dst, tunsrc, tundst; in xfrm_expire_policy() local
1535 tundst = inet_makeaddr(INADDR_A, grchild_ip(nr)); in xfrm_expire_policy()
1538 XFRM_POLICY_OUT, tunsrc, tundst, desc->proto)) { in xfrm_expire_policy()
1553 memcpy(&req.expire.pol.sel.daddr, &dst, sizeof(tundst)); in xfrm_expire_policy()
1599 struct in_addr src, dst, tunsrc, tundst; in child_serv() local
1606 tundst = inet_makeaddr(INADDR_A, grchild_ip(nr)); in child_serv()
1619 if (xfrm_prepare(xfrm_sock, seq, src, dst, tunsrc, tundst, desc->proto)) { in child_serv()
1628 if (xfrm_set(xfrm_sock, seq, src, dst, tunsrc, tundst, desc)) { in child_serv()
1648 if (xfrm_delete(xfrm_sock, seq, src, dst, tunsrc, tundst, desc->proto)) { in child_serv()
1658 if (xfrm_cleanup(xfrm_sock, seq, src, dst, tunsrc, tundst)) { in child_serv()
1737 struct in_addr src, dst, tunsrc, tundst; in grand_child_serv() local
1744 tundst = inet_makeaddr(INADDR_A, child_ip(nr)); in grand_child_serv()
1762 if (xfrm_prepare(xfrm_sock, seq, src, dst, tunsrc, tundst, in grand_child_serv()
1764 xfrm_cleanup(xfrm_sock, seq, src, dst, tunsrc, tundst); in grand_child_serv()
1769 if (xfrm_set(xfrm_sock, seq, src, dst, tunsrc, tundst, desc)) { in grand_child_serv()
1770 xfrm_cleanup(xfrm_sock, seq, src, dst, tunsrc, tundst); in grand_child_serv()
1775 if (xfrm_delete(xfrm_sock, seq, src, dst, tunsrc, tundst, in grand_child_serv()
1777 xfrm_cleanup(xfrm_sock, seq, src, dst, tunsrc, tundst); in grand_child_serv()
1782 if (xfrm_cleanup(xfrm_sock, seq, src, dst, tunsrc, tundst)) { in grand_child_serv()