Lines Matching defs:inp
354 struct inpcb *inp,
358 struct socket *so = inp->inp_socket;
361 struct inpcbinfo *pcbinfo = inp->inp_pcbinfo;
364 socket_unlock(inp->inp_socket, 0);
366 socket_lock(inp->inp_socket, 0);
374 inp->inp_flags |= INP_ANONPORT;
376 if (inp->inp_flags & INP_HIGHPORT) {
380 } else if (inp->inp_flags & INP_LOWPORT) {
413 inp->in6p_laddr = in6addr_any;
423 &inp->in6p_laddr, lport, wild));
436 inp->in6p_laddr = in6addr_any;
446 &inp->in6p_laddr, lport, wild));
449 inp->inp_lport = lport;
450 if (in_pcbinshash(inp, 1) != 0) {
451 inp->in6p_laddr = in6addr_any;
452 inp->inp_lport = 0;