Lines Matching refs:v4
391 snum = ntohs(addr->v4.sin_port); in sctp_do_bind()
431 addr->v4.sin_port = htons(snum); in sctp_do_bind()
600 af = sctp_get_af_specific(addr->v4.sin_family); in sctp_send_asconf_add_ip()
633 af = sctp_get_af_specific(addr->v4.sin_family); in sctp_send_asconf_add_ip()
716 if (sa_addr->v4.sin_port && in sctp_bindx_rem()
717 sa_addr->v4.sin_port != htons(bp->port)) { in sctp_bindx_rem()
722 if (!sa_addr->v4.sin_port) in sctp_bindx_rem()
723 sa_addr->v4.sin_port = htons(bp->port); in sctp_bindx_rem()
804 af = sctp_get_af_specific(laddr->v4.sin_family); in sctp_send_asconf_del_ip()
837 asoc->asconf_addr_del_pending->v4.sin_port = in sctp_send_asconf_del_ip()
843 asoc->asconf_addr_del_pending->v4.sin_addr.s_addr = sin->sin_addr.s_addr; in sctp_send_asconf_del_ip()
881 af = sctp_get_af_specific(laddr->v4.sin_family); in sctp_send_asconf_del_ip()
917 addr->v4.sin_port = htons(sp->ep->base.bind_addr.port); in sctp_asconf_mgmt()
1216 if (asoc->peer.port != ntohs(daddr->v4.sin_port)) in __sctp_connect()
1726 daddr->v4.sin_family = AF_INET; in sctp_sendmsg_new_asoc()
1727 daddr->v4.sin_port = htons(asoc->peer.port); in sctp_sendmsg_new_asoc()
1728 memcpy(&daddr->v4.sin_addr, CMSG_DATA(cmsg), dlen); in sctp_sendmsg_new_asoc()
6216 if (!temp.v4.sin_port) in sctp_copy_laddrs()
6217 temp.v4.sin_port = htons(port); in sctp_copy_laddrs()
8349 snum = ntohs(addr->v4.sin_port); in sctp_get_port_local()
8513 addr.v4.sin_port = htons(snum); in sctp_get_port()