Lines Matching refs:sa_src
909 if (iph2->sa_src && iph2->sa_dst) {
911 src = dupsaddr(iph2->sa_src);
1119 if (iph2->sa_src && iph2->sa_dst) {
1121 sa_args.dst = dupsaddr(iph2->sa_src);
1404 if (iph2->sa_src && iph2->sa_dst) {
1406 sa_args.src = dupsaddr(iph2->sa_src);
1728 struct sockaddr *sa_src = NULL, *sa_dst = NULL ; /* SA addresses */
1840 * We need to explicitly setup sa_src and sa_dst too,
1844 src = sa_src = sp_src;
1849 sa_src = src;
1946 /* If sa_src and sa_dst have been set, this mean we have to
1947 * set iph2->sa_src and iph2->sa_dst to provide the addresses
1951 if (sa_src) {
1952 iph2->sa_src = dupsaddr(sa_src);
2098 if (iph2->sa_src && iph2->sa_dst) {
2099 src = iph2->sa_src; /* MIPv6: Use SA addresses, */
2859 * Phase 2 handle to also update sa_src and sa_dst entries
2996 /* save src/dst as sa_src/sa_dst before rewriting */
2997 if (iph2->sa_src == NULL && iph2->sa_dst == NULL) {
2998 iph2->sa_src = iph2->src;
3042 if (iph2->sa_src != NULL) {
3043 racoon_free(iph2->sa_src);
3044 iph2->sa_src = NULL;
3052 iph2->sa_src = dupsaddr(ma->local);
3053 if (iph2->sa_src == NULL) {
3055 "unable to allocate Phase 2 sa_src address.\n");
3224 * and update its sa_src and sa_dst entries. Note that we
3227 * sa_src and sa_dst for _all_ found Phase 2 handles */
3550 * entries and associated live Phase 2 handles (their sa_src