Lines Matching refs:sctp_addr

136 	union sctp_addr laddr;
214 /* Initialize a sctp_addr from in incoming skb. */
215 static void sctp_v4_from_skb(union sctp_addr *addr, struct sk_buff *skb,
234 /* Initialize an sctp_addr from a socket. */
235 static void sctp_v4_from_sk(union sctp_addr *addr, struct sock *sk)
243 /* Initialize sk->sk_rcv_saddr from sctp_addr. */
244 static void sctp_v4_to_sk_saddr(union sctp_addr *addr, struct sock *sk)
249 /* Initialize sk->sk_daddr from sctp_addr. */
250 static void sctp_v4_to_sk_daddr(union sctp_addr *addr, struct sock *sk)
255 /* Initialize a sctp_addr from an address parameter. */
256 static bool sctp_v4_from_addr_param(union sctp_addr *addr,
271 /* Initialize an address parameter from a sctp_addr and return the length
274 static int sctp_v4_to_addr_param(const union sctp_addr *addr,
286 /* Initialize a sctp_addr from a dst_entry. */
287 static void sctp_v4_dst_saddr(union sctp_addr *saddr, struct flowi4 *fl4,
297 static int sctp_v4_cmp_addr(const union sctp_addr *addr1,
298 const union sctp_addr *addr2)
311 static void sctp_v4_inaddr_any(union sctp_addr *addr, __be16 port)
320 static int sctp_v4_is_any(const union sctp_addr *addr)
332 static int sctp_v4_addr_valid(union sctp_addr *addr,
352 static int sctp_v4_available(union sctp_addr *addr, struct sctp_sock *sp)
390 static enum sctp_scope sctp_v4_scope(union sctp_addr *addr)
417 static void sctp_v4_get_dst(struct sctp_transport *t, union sctp_addr *saddr,
427 union sctp_addr *daddr = &t->ipaddr;
428 union sctp_addr dst_saddr;
554 union sctp_addr *saddr = &t->saddr;
612 static int sctp_v4_addr_to_user(struct sctp_sock *sp, union sctp_addr *addr)
620 static void sctp_v4_seq_dump_addr(struct seq_file *seq, union sctp_addr *addr)
1011 static int sctp_inet_cmp_addr(const union sctp_addr *addr1,
1012 const union sctp_addr *addr2,
1030 static int sctp_inet_bind_verify(struct sctp_sock *opt, union sctp_addr *addr)
1038 static int sctp_inet_send_verify(struct sctp_sock *opt, union sctp_addr *addr)