Searched refs:sgw (Results 1 – 1 of 1) sorted by relevance
2700 struct sockaddr_in6 sgw; in icmp6_redirect_input() local2704 bzero(&sgw, sizeof(sgw)); in icmp6_redirect_input()2706 sdst.sin6_family = sgw.sin6_family = ssrc.sin6_family = AF_INET6; in icmp6_redirect_input()2707 sdst.sin6_len = sgw.sin6_len = ssrc.sin6_len = in icmp6_redirect_input()2711 sgw.sin6_scope_id = redtgt_ifscope; in icmp6_redirect_input()2714 bcopy(&redtgt6, &sgw.sin6_addr, sizeof(struct in6_addr)); in icmp6_redirect_input()2719 (struct sockaddr *)&sgw, NULL, RTF_GATEWAY | RTF_HOST, in icmp6_redirect_input()