Lines Matching refs:tundst

465 		struct in_addr tunsrc, struct in_addr tundst)  in tunnel_set_route()  argument
473 if (ip4_route_set(route_sock, (*route_seq)++, veth, tunsrc, tundst)) { in tunnel_set_route()
485 struct in_addr tundst = inet_makeaddr(INADDR_A, dst); 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
1115 memcpy(&req.info.sel.daddr, &dst, sizeof(tundst)); 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()
1163 XFRM_POLICY_IN, tunsrc, tundst, proto)) { in xfrm_prepare()
1173 struct in_addr tunsrc, struct in_addr tundst) in xfrm_policy_del() argument
1188 memcpy(&req.id.sel.daddr, &dst, sizeof(tundst)); in xfrm_policy_del()
1205 struct in_addr tunsrc, struct in_addr tundst) in xfrm_cleanup() argument
1208 XFRM_POLICY_OUT, tunsrc, tundst)) { in xfrm_cleanup()
1214 XFRM_POLICY_IN, tunsrc, tundst)) { in xfrm_cleanup()
1258 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_delete() argument
1516 struct in_addr src, dst, tunsrc, tundst; in xfrm_expire_policy() local
1523 tundst = inet_makeaddr(INADDR_A, grchild_ip(nr)); in xfrm_expire_policy()
1526 XFRM_POLICY_OUT, tunsrc, tundst, desc->proto)) { in xfrm_expire_policy()
1541 memcpy(&req.expire.pol.sel.daddr, &dst, sizeof(tundst)); in xfrm_expire_policy()
1736 struct in_addr src, dst, tunsrc, tundst; in child_serv() local
1743 tundst = inet_makeaddr(INADDR_A, grchild_ip(nr)); in child_serv()
1756 if (xfrm_prepare(xfrm_sock, seq, src, dst, tunsrc, tundst, desc->proto)) { in child_serv()
1765 if (xfrm_set(xfrm_sock, seq, src, dst, tunsrc, tundst, desc)) { in child_serv()
1785 if (xfrm_delete(xfrm_sock, seq, src, dst, tunsrc, tundst, desc->proto)) { in child_serv()
1795 if (xfrm_cleanup(xfrm_sock, seq, src, dst, tunsrc, tundst)) { in child_serv()
1877 struct in_addr src, dst, tunsrc, tundst; in grand_child_serv() local
1884 tundst = inet_makeaddr(INADDR_A, child_ip(nr)); in grand_child_serv()
1902 if (xfrm_prepare(xfrm_sock, seq, src, dst, tunsrc, tundst, in grand_child_serv()
1904 xfrm_cleanup(xfrm_sock, seq, src, dst, tunsrc, tundst); in grand_child_serv()
1909 if (xfrm_set(xfrm_sock, seq, src, dst, tunsrc, tundst, desc)) { in grand_child_serv()
1910 xfrm_cleanup(xfrm_sock, seq, src, dst, tunsrc, tundst); in grand_child_serv()
1915 if (xfrm_delete(xfrm_sock, seq, src, dst, tunsrc, tundst, in grand_child_serv()
1917 xfrm_cleanup(xfrm_sock, seq, src, dst, tunsrc, tundst); in grand_child_serv()
1922 if (xfrm_cleanup(xfrm_sock, seq, src, dst, tunsrc, tundst)) { in grand_child_serv()