| 388 | ***************************************************************/ |
| 389 | |
| 390 | static int |
| 391 | ngd_attach(struct socket *so, int proto, struct thread *td) |
| 392 | { |
| 393 | struct ngpcb *const pcbp = sotongpcb(so); |
| 394 | |
| 395 | if (pcbp != NULL) |
| 396 | return (EISCONN); |
| 397 | return (ng_attach_data(so)); |
| 398 | } |
| 399 | |
| 400 | static void |
| 401 | ngd_detach(struct socket *so) |
nothing calls this directly
no test coverage detected