• Home
  • Raw
  • Download

Lines Matching refs:uaddr

434 int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)  in inet_bind()  argument
441 return sk->sk_prot->bind(sk, uaddr, addr_len); in inet_bind()
449 err = BPF_CGROUP_RUN_PROG_INET4_BIND(sk, uaddr); in inet_bind()
453 return __inet_bind(sk, uaddr, addr_len, false, true); in inet_bind()
457 int __inet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len, in __inet_bind() argument
460 struct sockaddr_in *addr = (struct sockaddr_in *)uaddr; in __inet_bind()
556 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, in inet_dgram_connect() argument
562 if (addr_len < sizeof(uaddr->sa_family)) in inet_dgram_connect()
564 if (uaddr->sa_family == AF_UNSPEC) in inet_dgram_connect()
568 err = sk->sk_prot->pre_connect(sk, uaddr, addr_len); in inet_dgram_connect()
575 return sk->sk_prot->connect(sk, uaddr, addr_len); in inet_dgram_connect()
607 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in __inet_stream_connect() argument
623 if (uaddr) { in __inet_stream_connect()
624 if (addr_len < sizeof(uaddr->sa_family)) in __inet_stream_connect()
627 if (uaddr->sa_family == AF_UNSPEC) { in __inet_stream_connect()
654 err = sk->sk_prot->pre_connect(sk, uaddr, addr_len); in __inet_stream_connect()
659 err = sk->sk_prot->connect(sk, uaddr, addr_len); in __inet_stream_connect()
717 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in inet_stream_connect() argument
723 err = __inet_stream_connect(sock, uaddr, addr_len, flags, 0); in inet_stream_connect()
764 int inet_getname(struct socket *sock, struct sockaddr *uaddr, in inet_getname() argument
769 DECLARE_SOCKADDR(struct sockaddr_in *, sin, uaddr); in inet_getname()