MCPcopy Create free account
hub / github.com/F-Stack/f-stack / __tcp_queue_to_input

Function __tcp_queue_to_input

freebsd/netinet/tcp_hpts.c:1103–1113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1101}
1102
1103int32_t
1104__tcp_queue_to_input(struct inpcb *inp, int line)
1105{
1106 struct tcp_hpts_entry *hpts;
1107 int32_t ret;
1108
1109 hpts = tcp_input_lock(inp);
1110 ret = __tcp_queue_to_input_locked(inp, hpts, line);
1111 mtx_unlock(&hpts->p_mtx);
1112 return (ret);
1113}
1114
1115void
1116__tcp_set_inp_to_drop(struct inpcb *inp, uint16_t reason, int32_t line)

Callers

nothing calls this directly

Calls 3

tcp_input_lockFunction · 0.85
mtx_unlockFunction · 0.50

Tested by

no test coverage detected