Lines Matching refs:laddr
30 union sctp_addr laddr, paddr; in inet_diag_msg_sctpasoc_fill() local
34 laddr = list_entry(asoc->base.bind_addr.address_list.next, in inet_diag_msg_sctpasoc_fill()
47 *(struct in6_addr *)r->id.idiag_src = laddr.v6.sin6_addr; in inet_diag_msg_sctpasoc_fill()
55 r->id.idiag_src[0] = laddr.v4.sin_addr.s_addr; in inet_diag_msg_sctpasoc_fill()
70 struct sctp_sockaddr_entry *laddr; in inet_diag_msg_sctpladdrs_fill() local
76 list_for_each_entry_rcu(laddr, address_list, list) in inet_diag_msg_sctpladdrs_fill()
84 list_for_each_entry_rcu(laddr, address_list, list) { in inet_diag_msg_sctpladdrs_fill()
85 memcpy(info, &laddr->a, sizeof(laddr->a)); in inet_diag_msg_sctpladdrs_fill()
86 memset(info + sizeof(laddr->a), 0, addrlen - sizeof(laddr->a)); in inet_diag_msg_sctpladdrs_fill()
230 struct sctp_sockaddr_entry *laddr; in inet_assoc_attr_size() local
232 list_for_each_entry_rcu(laddr, &asoc->base.bind_addr.address_list, in inet_assoc_attr_size()
428 union sctp_addr laddr, paddr; in sctp_diag_dump_one() local
437 laddr.v4.sin_port = req->id.idiag_sport; in sctp_diag_dump_one()
438 laddr.v4.sin_addr.s_addr = req->id.idiag_src[0]; in sctp_diag_dump_one()
439 laddr.v4.sin_family = AF_INET; in sctp_diag_dump_one()
445 laddr.v6.sin6_port = req->id.idiag_sport; in sctp_diag_dump_one()
446 memcpy(&laddr.v6.sin6_addr, req->id.idiag_src, in sctp_diag_dump_one()
447 sizeof(laddr.v6.sin6_addr)); in sctp_diag_dump_one()
448 laddr.v6.sin6_family = AF_INET6; in sctp_diag_dump_one()
457 net, &laddr, &paddr, &commp); in sctp_diag_dump_one()