| 241 | } |
| 242 | |
| 243 | int |
| 244 | udp_newudpcb(struct inpcb *inp) |
| 245 | { |
| 246 | struct udpcb *up; |
| 247 | |
| 248 | up = uma_zalloc(V_udpcb_zone, M_NOWAIT | M_ZERO); |
| 249 | if (up == NULL) |
| 250 | return (ENOBUFS); |
| 251 | inp->inp_ppcb = up; |
| 252 | return (0); |
| 253 | } |
| 254 | |
| 255 | void |
| 256 | udp_discardcb(struct udpcb *up) |
no test coverage detected