| 550 | } |
| 551 | |
| 552 | int |
| 553 | sys_connectat(struct thread *td, struct connectat_args *uap) |
| 554 | { |
| 555 | struct sockaddr *sa; |
| 556 | int error; |
| 557 | |
| 558 | error = getsockaddr(&sa, uap->name, uap->namelen); |
| 559 | if (error == 0) { |
| 560 | error = kern_connectat(td, uap->fd, uap->s, sa); |
| 561 | free(sa, M_SONAME); |
| 562 | } |
| 563 | return (error); |
| 564 | } |
| 565 | |
| 566 | int |
| 567 | kern_socketpair(struct thread *td, int domain, int type, int protocol, |
nothing calls this directly
no test coverage detected