Lines Matching refs:sockaddr_in
98 struct sockaddr_in addr; in handle_upcall()
101 socklen_t len = (socklen_t)sizeof(struct sockaddr_in); in handle_upcall()
137 struct sockaddr_in addr4; in main()
187 memset((void *)&addr4, 0, sizeof(struct sockaddr_in)); in main()
190 addr4.sin_len = sizeof(struct sockaddr_in); in main()
204 if (usrsctp_connect(sock, (struct sockaddr *)&addr4, sizeof(struct sockaddr_in)) < 0) { in main()
224 struct sockaddr_in *sin; in main()
228 sin = (struct sockaddr_in *)addr; in main()
232 addr = (struct sockaddr *)((caddr_t)addr + sizeof(struct sockaddr_in)); in main()
272 struct sockaddr_in *sin; in main()
276 sin = (struct sockaddr_in *)addr; in main()
280 addr = (struct sockaddr *)((caddr_t)addr + sizeof(struct sockaddr_in)); in main()