Searched refs:bind_addr (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.10/net/sctp/ |
D | endpointola.c | 78 sctp_bind_addr_init(&ep->base.bind_addr, 0); in sctp_endpoint_init() 207 sctp_bind_addr_free(&ep->base.bind_addr); in sctp_endpoint_destroy() 246 if ((htons(ep->base.bind_addr.port) == laddr->v4.sin_port) && in sctp_endpoint_is_match() 248 if (sctp_bind_addr_match(&ep->base.bind_addr, laddr, in sctp_endpoint_is_match() 273 if (!ep->base.bind_addr.port) in sctp_endpoint_lookup_assoc() 298 bp = &ep->base.bind_addr; in sctp_endpoint_is_peeled_off()
|
D | objcnt.c | 35 SCTP_DBG_OBJCNT(bind_addr); 51 SCTP_DBG_OBJCNT_ENTRY(bind_addr),
|
D | diag.c | 34 laddr = list_entry(asoc->base.bind_addr.address_list.next, in inet_diag_msg_sctpasoc_fill() 40 r->id.idiag_sport = htons(asoc->base.bind_addr.port); in inet_diag_msg_sctpasoc_fill() 200 addr_list = asoc ? &asoc->base.bind_addr.address_list in inet_sctp_diag_fill() 201 : &ep->base.bind_addr.address_list; in inet_sctp_diag_fill() 235 list_for_each_entry_rcu(laddr, &asoc->base.bind_addr.address_list, in inet_assoc_attr_size() 311 if (r->id.idiag_sport != htons(assoc->base.bind_addr.port) && in sctp_sock_dump()
|
D | associola.c | 79 sctp_bind_addr_init(&asoc->base.bind_addr, ep->base.bind_addr.port); in sctp_association_init() 175 asoc->c.my_port = ep->base.bind_addr.port; in sctp_association_init() 356 sctp_bind_addr_free(&asoc->base.bind_addr); in sctp_association_free() 675 sctp_packet_init(&peer->packet, peer, asoc->base.bind_addr.port, in sctp_assoc_add_peer() 1583 &asoc->base.bind_addr, in sctp_assoc_set_bind_addr_from_ep() 1584 &asoc->ep->base.bind_addr, in sctp_assoc_set_bind_addr_from_ep() 1597 return sctp_raw_to_bind_addrs(&asoc->base.bind_addr, raw, var_size3, in sctp_assoc_set_bind_addr_from_cookie() 1598 asoc->ep->base.bind_addr.port, gfp); in sctp_assoc_set_bind_addr_from_cookie() 1607 if ((asoc->base.bind_addr.port == ntohs(laddr->v4.sin_port)) && in sctp_assoc_lookup_laddr() 1608 sctp_bind_addr_match(&asoc->base.bind_addr, laddr, in sctp_assoc_lookup_laddr()
|
D | input.c | 727 epb->hashent = sctp_ep_hashfn(net, epb->bind_addr.port); in __sctp_hash_endpoint() 736 list_for_each(list, &ep->base.bind_addr.address_list) in __sctp_hash_endpoint() 793 epb->hashent = sctp_ep_hashfn(sock_net(sk), epb->bind_addr.port); in __sctp_unhash_endpoint() 888 if (x->lport != htons(t->asoc->base.bind_addr.port)) in sctp_hash_cmp() 902 htons(t->asoc->base.bind_addr.port), in sctp_hash_obj() 943 arg.lport = htons(t->asoc->base.bind_addr.port); in sctp_hash_transport() 994 if (sctp_bind_addr_match(&t->asoc->base.bind_addr, in sctp_addrs_lookup_transport() 1013 .lport = htons(ep->base.bind_addr.port), in sctp_epaddr_lookup_transport()
|
D | proc.c | 98 list_for_each_entry_rcu(laddr, &epb->bind_addr.address_list, list) { in sctp_seq_dump_local_addrs() 181 epb->bind_addr.port, in sctp_eps_seq_show() 262 epb->bind_addr.port, in sctp_assocs_seq_show()
|
D | Makefile | 13 tsnmap.o bind_addr.o socket.o primitive.o \
|
D | bind_addr.c | 328 struct sctp_bind_addr *bp2 = &sp2->ep->base.bind_addr; in sctp_bind_addrs_check() 329 struct sctp_bind_addr *bp = &sp->ep->base.bind_addr; in sctp_bind_addrs_check() 542 bp = &sctp_sk(sk)->ep->base.bind_addr; in sctp_is_ep_boundall()
|
D | socket.c | 316 if (!sctp_sk(sk)->ep->base.bind_addr.port) in sctp_bind() 366 struct sctp_bind_addr *bp = &ep->base.bind_addr; in sctp_do_bind() 600 bp = &asoc->base.bind_addr; in sctp_send_asconf_add_ip() 666 struct sctp_bind_addr *bp = &ep->base.bind_addr; in sctp_bindx_rem() 806 bp = &asoc->base.bind_addr; in sctp_send_asconf_del_ip() 900 addr->v4.sin_port = htons(sp->ep->base.bind_addr.port); in sctp_asconf_mgmt() 1064 if (!ep->base.bind_addr.port) { in sctp_connect_new_asoc() 1068 if (inet_port_requires_bind_service(net, ep->base.bind_addr.port) && in sctp_connect_new_asoc() 4231 if (sctp_sk(sk)->ep->base.bind_addr.port) in sctp_setsockopt_reuse_port() 6121 bp = &sctp_sk(sk)->ep->base.bind_addr; in sctp_getsockopt_local_addrs() [all …]
|
D | ipv6.c | 265 fl6->fl6_sport = htons(asoc->base.bind_addr.port); in sctp_v6_get_dst() 286 bp = &asoc->base.bind_addr; in sctp_v6_get_dst()
|
D | sm_statefuns.c | 2266 sctp_bind_addr_state(&asoc->base.bind_addr, &chunk->dest)) in sctp_sf_shutdown_pending_abort() 2312 sctp_bind_addr_state(&asoc->base.bind_addr, &chunk->dest)) in sctp_sf_shutdown_sent_abort() 2474 bp = (struct sctp_bind_addr *) &asoc->base.bind_addr; in sctp_sf_do_5_2_6_stale() 2582 sctp_bind_addr_state(&asoc->base.bind_addr, &chunk->dest)) in sctp_sf_do_9_1_abort() 4841 repl = sctp_make_init(asoc, &asoc->base.bind_addr, GFP_ATOMIC, 0); in sctp_sf_do_prm_asoc() 5767 bp = (struct sctp_bind_addr *) &asoc->base.bind_addr; in sctp_sf_t1_init_timer_expire()
|
D | protocol.c | 431 fl4->fl4_sport = htons(asoc->base.bind_addr.port); in sctp_v4_get_dst() 455 bp = &asoc->base.bind_addr; in sctp_v4_get_dst()
|
D | sm_make_chunk.c | 400 addrs = sctp_bind_addrs_to_raw(&asoc->base.bind_addr, &addrs_len, gfp); in sctp_make_init_ack() 1835 if (list_empty(&retval->base.bind_addr.address_list)) { in sctp_unpack_cookie() 1836 sctp_add_bind_addr(&retval->base.bind_addr, &chunk->dest, in sctp_unpack_cookie() 3306 struct sctp_bind_addr *bp = &asoc->base.bind_addr; in sctp_asconf_param_success()
|
D | outqueue.c | 765 const __u16 sport = asoc->base.bind_addr.port; in sctp_packet_singleton()
|
/Linux-v5.10/include/trace/events/ |
D | sctp.h | 73 __entry->bind_port = ep->base.bind_addr.port;
|
/Linux-v5.10/include/net/sctp/ |
D | structs.h | 1249 struct sctp_bind_addr bind_addr; member
|