Lines Matching defs:sin
724 struct sockaddr_in *sin;
765 sin = (struct sockaddr_in *)&saidx->dst;
766 sin->sin_port = IPSEC_PORT_ANY;
795 struct sockaddr_in *sin;
825 sin = (struct sockaddr_in *)&saidx->dst;
826 dstport = sin->sin_port;
828 sin->sin_port = IPSEC_PORT_ANY;
1040 struct sockaddr_in sin;
1099 bzero(&sin, sizeof(sin));
1100 sin.sin_family = AF_INET;
1101 sin.sin_len = sizeof(sin);
1102 bcopy(src, &sin.sin_addr,
1103 sizeof(sin.sin_addr));
1104 if (key_sockaddrcmp((struct sockaddr*)&sin,
1135 bzero(&sin, sizeof(sin));
1136 sin.sin_family = AF_INET;
1137 sin.sin_len = sizeof(sin);
1138 bcopy(dst, &sin.sin_addr,
1139 sizeof(sin.sin_addr));
1140 if (key_sockaddrcmp((struct sockaddr*)&sin,
4255 struct sockaddr_in *sin;
4267 sin = (struct sockaddr_in *)sa;
4271 if (sin->sin_family == ia->ia_addr.sin_family &&
4272 sin->sin_len == ia->ia_addr.sin_len &&
4273 sin->sin_addr.s_addr == ia->ia_addr.sin_addr.s_addr)