Lines Matching refs:sockaddr
36 {SOCK_STREAM, 0, (struct sockaddr *)&unix_addr, sizeof(unix_addr),
38 {SOCK_SEQPACKET, 0, (struct sockaddr *)&unix_addr, sizeof(unix_addr),
40 {SOCK_STREAM, 0, (struct sockaddr *)&abstract_addr,
42 {SOCK_SEQPACKET, 0, (struct sockaddr *)&abstract_addr,
46 {SOCK_STREAM, 0, (struct sockaddr *)&ipv4_addr, sizeof(ipv4_addr),
48 {SOCK_STREAM, IPPROTO_TCP, (struct sockaddr *)&ipv4_addr,
50 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv4_addr,
52 {SOCK_STREAM, 0, (struct sockaddr *)&ipv4_any_addr,
54 {SOCK_STREAM, IPPROTO_TCP, (struct sockaddr *)&ipv4_any_addr,
56 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv4_any_addr,
60 {SOCK_STREAM, 0, (struct sockaddr *)&ipv6_addr, sizeof(ipv6_addr),
62 {SOCK_STREAM, IPPROTO_TCP, (struct sockaddr *)&ipv6_addr,
64 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv6_addr,
66 {SOCK_STREAM, 0, (struct sockaddr *)&ipv6_any_addr,
68 {SOCK_STREAM, IPPROTO_TCP, (struct sockaddr *)&ipv6_any_addr,
70 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv6_any_addr,
134 tc_copy.address = (struct sockaddr *)&listen_addr; in test_bind()
138 sock = SAFE_ACCEPT(listen_sock, (struct sockaddr *)&remote_addr, in test_bind()