Lines Matching refs:sockaddr
84 struct sockaddr *from; /* from address */
95 (struct sockaddr *)&from, &fromlen,
99 0, 0, 0, buf, sizeof(buf), 0, (struct sockaddr *)&from,
104 (struct sockaddr *)-1, &fromlen,
109 (struct sockaddr *)&from, &fromlen,
114 (struct sockaddr *)&from, &fromlen,
119 (struct sockaddr *)&from, &fromlen,
124 (struct sockaddr *)&from, &fromlen,
221 connect(s, (struct sockaddr *)&sin1, sizeof(sin1)) < 0) { in setup1()
262 if (bind(sfd, (struct sockaddr *)sin0, sizeof(*sin0)) < 0) { in start_server()
270 SAFE_GETSOCKNAME(cleanup, sfd, (struct sockaddr *)sin0, &slen); in start_server()
318 newfd = accept(sfd, (struct sockaddr *)&fsin, &fromlen); in do_child()