Lines Matching defs:sin
1076 struct sockaddr_in *sin;
1085 sin = (struct sockaddr_in *)&spidx->src;
1086 bzero(sin, sizeof(*sin));
1087 sin->sin_family = AF_INET;
1088 sin->sin_len = sizeof(struct sockaddr_in);
1089 bcopy(&ip->ip_src, &sin->sin_addr, sizeof(ip->ip_src));
1092 sin = (struct sockaddr_in *)&spidx->dst;
1093 bzero(sin, sizeof(*sin));
1094 sin->sin_family = AF_INET;
1095 sin->sin_len = sizeof(struct sockaddr_in);
1096 bcopy(&ip->ip_dst, &sin->sin_addr, sizeof(ip->ip_dst));
2781 struct sockaddr_in *sin;
2818 sin = (struct sockaddr_in *)&saidx.src;
2819 if (sin->sin_len == 0) {
2820 sin->sin_len = sizeof(*sin);
2821 sin->sin_family = AF_INET;
2822 sin->sin_port = IPSEC_PORT_ANY;
2823 bcopy(&ip->ip_src, &sin->sin_addr,
2824 sizeof(sin->sin_addr));
2826 sin = (struct sockaddr_in *)&saidx.dst;
2827 if (sin->sin_len == 0) {
2828 sin->sin_len = sizeof(*sin);
2829 sin->sin_family = AF_INET;
2830 sin->sin_port = IPSEC_PORT_ANY;
2858 sin->sin_port = udp->uh_dport;
2862 bcopy(&ip->ip_dst, &sin->sin_addr,
2863 sizeof(sin->sin_addr));
3631 struct sockaddr_in *sin;
3661 sin = (struct sockaddr_in *)&sav->sah->saidx.dst;
3662 if (sin->sin_family != AF_INET)
3664 if (bcmp(&oip->ip_dst, &sin->sin_addr, sizeof(oip->ip_dst)) != 0)