Lines Matching defs:so_dst
829 union sockunion *so_dst, *so_pref, *so_gate;
862 so_dst = (union sockunion *) & rtmes[1];
863 CHECK_LEN(so_dst);
869 if (so_dst->sa.sa_family == AF_MPLS) {
870 delete_route(so_dst, NULL, NO_FREESO);
875 if (so_dst->sa.sa_family != AF_INET) {
881 if (so_dst->sin.sin_addr.s_addr == 0 && no_default_route != 0)
885 if ((ntohl(so_dst->sin.sin_addr.s_addr) >> 24)==IN_LOOPBACKNET)
890 GETNEXT(so_gate, so_dst);
899 GETNEXT(so_pref, so_dst);
910 inet_ntoa(so_dst->sin.sin_addr));
911 delete_route(so_dst,
923 label_add(so_dst, so_pref, so_gate,
942 union sockunion *so_dst, *so_pref, *so_gate;
974 so_dst = (union sockunion *) & rtm[1];
976 if (so_dst->sa.sa_family == AF_MPLS) {
977 delete_route(so_dst, NULL, NO_FREESO);
984 GETNEXT(so_gate, so_dst);
990 if (so_dst->sa.sa_family == AF_INET)
992 inet_ntoa(so_dst->sin.sin_addr));
993 delete_route(so_dst, so_pref, NO_FREESO);