/linux-6.6.21/include/net/sctp/ |
D | structs.h | 53 union sctp_addr { union 309 union sctp_addr peer_addr; 386 union sctp_addr daddr; 449 union sctp_addr *saddr, 457 int (*cmp_addr) (const union sctp_addr *addr1, 458 const union sctp_addr *addr2); 459 void (*addr_copy) (union sctp_addr *dst, 460 union sctp_addr *src); 461 void (*from_skb) (union sctp_addr *, 464 void (*from_sk) (union sctp_addr *, [all …]
|
D | sctp.h | 111 const union sctp_addr *laddr, 112 const union sctp_addr *paddr, void *p, int dif); 157 const union sctp_addr *laddr, 158 const union sctp_addr *paddr, 162 const union sctp_addr *paddr); 535 static inline void sctp_v6_map_v4(union sctp_addr *addr) in sctp_v6_map_v4() 543 static inline void sctp_v4_map_v6(union sctp_addr *addr) in sctp_v4_map_v6()
|
D | sm.h | 239 union sctp_addr *laddr, 243 union sctp_addr *addr);
|
/linux-6.6.21/net/sctp/ |
D | ipv6.c | 62 static inline int sctp_v6_addr_match_len(union sctp_addr *s1, 63 union sctp_addr *s2); 64 static void sctp_v6_to_addr(union sctp_addr *addr, struct in6_addr *saddr, 66 static int sctp_v6_cmp_addr(const union sctp_addr *addr1, 67 const union sctp_addr *addr2); 274 static void sctp_v6_get_dst(struct sctp_transport *t, union sctp_addr *saddr, in sctp_v6_get_dst() 284 union sctp_addr *daddr = &t->ipaddr; in sctp_v6_get_dst() 285 union sctp_addr dst_saddr; in sctp_v6_get_dst() 433 static inline int sctp_v6_addr_match_len(union sctp_addr *s1, in sctp_v6_addr_match_len() 434 union sctp_addr *s2) in sctp_v6_addr_match_len() [all …]
|
D | bind_addr.c | 34 union sctp_addr *addr, enum sctp_scope scope, 144 int sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new, in sctp_add_bind_addr() 179 int sctp_del_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *del_addr) in sctp_del_bind_addr() 268 union sctp_addr addr; in sctp_raw_to_bind_addrs() 314 const union sctp_addr *addr, in sctp_bind_addr_match() 366 const union sctp_addr *addr, in sctp_bind_addr_conflict() 401 const union sctp_addr *addr) in sctp_bind_addr_state() 423 union sctp_addr *sctp_find_unmatch_addr(struct sctp_bind_addr *bp, in sctp_find_unmatch_addr() 424 const union sctp_addr *addrs, in sctp_find_unmatch_addr() 429 union sctp_addr *addr; in sctp_find_unmatch_addr() [all …]
|
D | input.c | 51 const union sctp_addr *paddr, 52 const union sctp_addr *laddr, 57 const union sctp_addr *laddr, 58 const union sctp_addr *daddr, 62 const union sctp_addr *local, 63 const union sctp_addr *peer, 96 union sctp_addr src; in sctp_rcv() 97 union sctp_addr dest; in sctp_rcv() 466 union sctp_addr saddr; in sctp_err_lookup() 467 union sctp_addr daddr; in sctp_err_lookup() [all …]
|
D | protocol.c | 136 union sctp_addr laddr; in sctp_copy_local_addr_list() 215 static void sctp_v4_from_skb(union sctp_addr *addr, struct sk_buff *skb, in sctp_v4_from_skb() 235 static void sctp_v4_from_sk(union sctp_addr *addr, struct sock *sk) in sctp_v4_from_sk() 244 static void sctp_v4_to_sk_saddr(union sctp_addr *addr, struct sock *sk) in sctp_v4_to_sk_saddr() 250 static void sctp_v4_to_sk_daddr(union sctp_addr *addr, struct sock *sk) in sctp_v4_to_sk_daddr() 256 static bool sctp_v4_from_addr_param(union sctp_addr *addr, in sctp_v4_from_addr_param() 274 static int sctp_v4_to_addr_param(const union sctp_addr *addr, in sctp_v4_to_addr_param() 287 static void sctp_v4_dst_saddr(union sctp_addr *saddr, struct flowi4 *fl4, in sctp_v4_dst_saddr() 297 static int sctp_v4_cmp_addr(const union sctp_addr *addr1, in sctp_v4_cmp_addr() 298 const union sctp_addr *addr2) in sctp_v4_cmp_addr() [all …]
|
D | endpointola.c | 249 const union sctp_addr *laddr, in sctp_endpoint_is_match() 272 const union sctp_addr *paddr, in sctp_endpoint_lookup_assoc() 302 const union sctp_addr *paddr) in sctp_endpoint_is_peeled_off()
|
D | transport.c | 42 const union sctp_addr *addr, in sctp_transport_init() 48 memset(&peer->saddr, 0, sizeof(union sctp_addr)); in sctp_transport_init() 92 const union sctp_addr *addr, in sctp_transport_new() 420 union sctp_addr addr; in sctp_transport_update_pmtu() 449 union sctp_addr *saddr, struct sctp_sock *opt) in sctp_transport_route() 458 memcpy(&transport->saddr, saddr, sizeof(union sctp_addr)); in sctp_transport_route()
|
D | socket.c | 82 union sctp_addr *addr, int len); 89 static int sctp_do_bind(struct sock *, union sctp_addr *, int); 209 static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, in sctp_verify_addr() 275 union sctp_addr *laddr = (union sctp_addr *)addr; in sctp_addr_id2transport() 293 (union sctp_addr *)addr); in sctp_addr_id2transport() 319 retval = sctp_do_bind(sk, (union sctp_addr *)addr, in sctp_bind() 329 static int sctp_get_port_local(struct sock *, union sctp_addr *); 333 union sctp_addr *addr, int len) in sctp_sockaddr_af() 375 static int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind() 527 retval = sctp_do_bind(sk, (union sctp_addr *)sa_addr, in sctp_bindx_add() [all …]
|
D | sm_make_chunk.c | 65 const union sctp_addr *peer_addr, 1406 void sctp_init_addrs(struct sctp_chunk *chunk, union sctp_addr *src, in sctp_init_addrs() 1407 union sctp_addr *dest) in sctp_init_addrs() 1409 memcpy(&chunk->source, src, sizeof(union sctp_addr)); in sctp_init_addrs() 1410 memcpy(&chunk->dest, dest, sizeof(union sctp_addr)); in sctp_init_addrs() 1414 const union sctp_addr *sctp_source(const struct sctp_chunk *chunk) in sctp_source() 2356 const union sctp_addr *peer_addr, in sctp_process_init() 2362 union sctp_addr addr; in sctp_process_init() 2542 const union sctp_addr *peer_addr, in sctp_process_param() 2550 union sctp_addr addr; in sctp_process_param() [all …]
|
D | associola.c | 440 sizeof(union sctp_addr)); in sctp_assoc_set_primary() 583 const union sctp_addr *addr, in sctp_assoc_add_peer() 740 const union sctp_addr *addr) in sctp_assoc_del_peer() 759 const union sctp_addr *address) in sctp_assoc_lookup_paddr() 892 int sctp_cmp_addr_exact(const union sctp_addr *ss1, in sctp_cmp_addr_exact() 893 const union sctp_addr *ss2) in sctp_cmp_addr_exact() 1610 const union sctp_addr *laddr) in sctp_assoc_lookup_laddr()
|
D | proc.c | 82 union sctp_addr *addr, *primary = NULL; in sctp_seq_dump_local_addrs() 116 union sctp_addr *addr, *primary; in sctp_seq_dump_remote_addrs()
|
D | diag.c | 30 union sctp_addr laddr, paddr; in inet_diag_msg_sctpasoc_fill() 426 union sctp_addr laddr, paddr; in sctp_diag_dump_one()
|
D | outqueue.c | 46 union sctp_addr *saddr, 1438 union sctp_addr *saddr, in sctp_check_transmitted()
|
D | ulpevent.c | 331 (union sctp_addr *)&spc->spc_aaddr); in sctp_ulpevent_make_peer_addr_change()
|
D | sm_statefuns.c | 1248 union sctp_addr from_addr; in sctp_sf_backbeat_8_3() 1323 static int sctp_sf_send_restart_abort(struct net *net, union sctp_addr *ssa, in sctp_sf_send_restart_abort() 1373 union sctp_addr *ipaddr) in list_has_sctp_addr() 6424 sctp_transport_route(transport, (union sctp_addr *)&chunk->dest, in sctp_ootb_pkt_new()
|
/linux-6.6.21/include/trace/events/ |
D | sctp.h | 21 __array(__u8, ipaddr, sizeof(union sctp_addr)) 33 memcpy(__entry->ipaddr, &sp->ipaddr, sizeof(union sctp_addr));
|