Lines Matching defs:firstaddr
4041 sctp_aloc_assoc_locked(struct sctp_inpcb *inp, struct sockaddr *firstaddr,
4069 if (firstaddr == NULL) {
4103 if (firstaddr) {
4104 SCTPDBG_ADDR(SCTP_DEBUG_PCB3, firstaddr);
4105 switch (firstaddr->sa_family) {
4109 ntohs(((struct sockaddr_in *)firstaddr)->sin_port));
4115 ntohs(((struct sockaddr_in6 *)firstaddr)->sin6_port));
4125 switch (firstaddr->sa_family) {
4131 sin = (struct sockaddr_in *)firstaddr;
4152 sin6 = (struct sockaddr_in6 *)firstaddr;
4216 if (sctp_add_remote_addr(stcb, firstaddr, NULL, port, SCTP_DO_SETSCOPE, SCTP_ALLOC_ASOC)) {
4264 sctp_aloc_assoc(struct sctp_inpcb *inp, struct sockaddr *firstaddr,
4274 stcb = sctp_aloc_assoc_locked(inp, firstaddr, error, override_tag,
4282 sctp_aloc_assoc_connected(struct sctp_inpcb *inp, struct sockaddr *firstaddr,
4299 stcb = sctp_aloc_assoc_locked(inp, firstaddr, error, override_tag,