Lines Matching refs:sin
705 struct sockaddr_in *sin; in sctp_inet_msgname() local
707 sin = (struct sockaddr_in *)msgname; in sctp_inet_msgname()
709 sin->sin_family = AF_INET; in sctp_inet_msgname()
710 memset(sin->sin_zero, 0, sizeof(sin->sin_zero)); in sctp_inet_msgname()
717 struct sockaddr_in *sin, *sinfrom; in sctp_inet_event_msgname() local
724 sin = (struct sockaddr_in *)msgname; in sctp_inet_event_msgname()
726 sin->sin_port = htons(asoc->peer.port); in sctp_inet_event_msgname()
727 sin->sin_addr.s_addr = sinfrom->sin_addr.s_addr; in sctp_inet_event_msgname()
735 struct sockaddr_in *sin; in sctp_inet_skb_msgname() local
739 sin = (struct sockaddr_in *)msgname; in sctp_inet_skb_msgname()
741 sin->sin_port = sh->source; in sctp_inet_skb_msgname()
742 sin->sin_addr.s_addr = skb->nh.iph->saddr; in sctp_inet_skb_msgname()