Searched refs:bind_addr (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/net/sctp/
H A DMakefile12 tsnmap.o bind_addr.o socket.o primitive.o \
H A Dendpointola.c127 sctp_bind_addr_init(&ep->base.bind_addr, 0); sctp_endpoint_init()
266 sctp_bind_addr_free(&ep->base.bind_addr); sctp_endpoint_destroy()
306 if ((htons(ep->base.bind_addr.port) == laddr->v4.sin_port) && sctp_endpoint_is_match()
308 if (sctp_bind_addr_match(&ep->base.bind_addr, laddr, sctp_endpoint_is_match()
338 if (!ep->base.bind_addr.port) __sctp_endpoint_lookup_assoc()
343 hash = sctp_assoc_hashfn(sock_net(ep->base.sk), ep->base.bind_addr.port, __sctp_endpoint_lookup_assoc()
389 bp = &ep->base.bind_addr; sctp_endpoint_is_peeled_off()
H A Dobjcnt.c50 SCTP_DBG_OBJCNT(bind_addr); variable
67 SCTP_DBG_OBJCNT_ENTRY(bind_addr),
H A Dprobe.c147 ep->base.bind_addr.port == port || jsctp_sf_eat_sack()
159 ep->base.bind_addr.port, asoc->peer.port, jsctp_sf_eat_sack()
H A Dassociola.c95 sctp_bind_addr_init(&asoc->base.bind_addr, ep->base.bind_addr.port); sctp_association_init()
188 asoc->c.my_port = ep->base.bind_addr.port; sctp_association_init()
364 sctp_bind_addr_free(&asoc->base.bind_addr); sctp_association_free()
667 sctp_packet_init(&peer->packet, peer, asoc->base.bind_addr.port, sctp_assoc_add_peer()
976 if ((htons(asoc->base.bind_addr.port) == laddr->v4.sin_port) && sctp_assoc_is_match()
983 if (sctp_bind_addr_match(&asoc->base.bind_addr, laddr, sctp_assoc_is_match()
1556 &asoc->base.bind_addr, sctp_assoc_set_bind_addr_from_ep()
1557 &asoc->ep->base.bind_addr, sctp_assoc_set_bind_addr_from_ep()
1570 return sctp_raw_to_bind_addrs(&asoc->base.bind_addr, raw, var_size3, sctp_assoc_set_bind_addr_from_cookie()
1571 asoc->ep->base.bind_addr.port, gfp); sctp_assoc_set_bind_addr_from_cookie()
1580 if ((asoc->base.bind_addr.port == ntohs(laddr->v4.sin_port)) && sctp_assoc_lookup_laddr()
1581 sctp_bind_addr_match(&asoc->base.bind_addr, laddr, sctp_assoc_lookup_laddr()
H A Dproc.c142 list_for_each_entry_rcu(laddr, &epb->bind_addr.address_list, list) { sctp_seq_dump_local_addrs()
230 epb->bind_addr.port, sctp_eps_seq_show()
346 epb->bind_addr.port, sctp_assocs_seq_show()
H A Dbind_addr.c349 * If there is no IPv6 socket, then default to bind_addr. sctp_bind_addr_conflict()
528 bp = &sctp_sk(sk)->ep->base.bind_addr; sctp_is_ep_boundall()
H A Dinput.c717 epb->hashent = sctp_ep_hashfn(net, epb->bind_addr.port); __sctp_hash_endpoint()
742 epb->hashent = sctp_ep_hashfn(net, epb->bind_addr.port); __sctp_unhash_endpoint()
795 epb->hashent = sctp_assoc_hashfn(net, epb->bind_addr.port, __sctp_hash_established()
825 epb->hashent = sctp_assoc_hashfn(net, epb->bind_addr.port, __sctp_unhash_established()
H A Dsocket.c278 if (!sctp_sk(sk)->ep->base.bind_addr.port) sctp_bind()
327 struct sctp_bind_addr *bp = &ep->base.bind_addr; sctp_do_bind()
561 bp = &asoc->base.bind_addr; sctp_send_asconf_add_ip()
627 struct sctp_bind_addr *bp = &ep->base.bind_addr; sctp_bindx_rem()
768 bp = &asoc->base.bind_addr; sctp_send_asconf_del_ip()
863 addr->v4.sin_port = htons(sp->ep->base.bind_addr.port); sctp_asconf_mgmt()
1140 if (!ep->base.bind_addr.port) { __sctp_connect()
1153 if (ep->base.bind_addr.port < PROT_SOCK && __sctp_connect()
1801 if (!ep->base.bind_addr.port) { sctp_sendmsg()
1814 if (ep->base.bind_addr.port < PROT_SOCK && sctp_sendmsg()
4931 bp = &sctp_sk(sk)->ep->base.bind_addr; sctp_getsockopt_local_addrs()
4936 bp = &asoc->base.bind_addr; sctp_getsockopt_local_addrs()
6253 if (sctp_bind_addr_conflict(&ep2->base.bind_addr, addr, sctp_get_port_local()
6351 if (!ep->base.bind_addr.port) { sctp_listen_start()
7276 /* Copy the bind_addr list from the original endpoint to the new sctp_sock_migrate()
7279 sctp_bind_addr_dup(&newsp->ep->base.bind_addr, sctp_sock_migrate()
7280 &oldsp->ep->base.bind_addr, GFP_KERNEL); sctp_sock_migrate()
H A Dipv6.c256 fl6->fl6_sport = htons(asoc->base.bind_addr.port); sctp_v6_get_dst()
270 bp = &asoc->base.bind_addr; sctp_v6_get_dst()
H A Dprotocol.c442 fl4->fl4_sport = htons(asoc->base.bind_addr.port); sctp_v4_get_dst()
462 bp = &asoc->base.bind_addr; sctp_v4_get_dst()
H A Dsm_make_chunk.c405 addrs = sctp_bind_addrs_to_raw(&asoc->base.bind_addr, &addrs_len, gfp); sctp_make_init_ack()
1831 if (list_empty(&retval->base.bind_addr.address_list)) { sctp_unpack_cookie()
1832 sctp_add_bind_addr(&retval->base.bind_addr, &chunk->dest, sctp_unpack_cookie()
3269 struct sctp_bind_addr *bp = &asoc->base.bind_addr; sctp_asconf_param_success()
H A Dsm_statefuns.c2148 sctp_bind_addr_state(&asoc->base.bind_addr, &chunk->dest)) sctp_sf_shutdown_pending_abort()
2190 sctp_bind_addr_state(&asoc->base.bind_addr, &chunk->dest)) sctp_sf_shutdown_sent_abort()
2348 bp = (struct sctp_bind_addr *) &asoc->base.bind_addr; sctp_sf_do_5_2_6_stale()
2455 sctp_bind_addr_state(&asoc->base.bind_addr, &chunk->dest)) sctp_sf_do_9_1_abort()
4629 repl = sctp_make_init(asoc, &asoc->base.bind_addr, GFP_ATOMIC, 0); sctp_sf_do_prm_asoc()
5539 bp = (struct sctp_bind_addr *) &asoc->base.bind_addr; sctp_sf_t1_init_timer_expire()
H A Doutqueue.c710 __u16 sport = asoc->base.bind_addr.port; sctp_outq_flush()
/linux-4.1.27/include/net/sctp/
H A Dstructs.h1171 * bind_addr.port is our shared port number.
1172 * bind_addr.address_list is our set of local IP addresses.
1174 struct sctp_bind_addr bind_addr; member in struct:sctp_ep_common

Completed in 826 milliseconds