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

Function tcp_pru_options_support

freebsd/netinet/tcp_usrreq.c:1463–1479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1461}
1462
1463static int
1464tcp_pru_options_support(struct tcpcb *tp, int flags)
1465{
1466 /*
1467 * If the specific TCP stack has a pru_options
1468 * specified then it does not always support
1469 * all the PRU_XX options and we must ask it.
1470 * If the function is not specified then all
1471 * of the PRU_XX options are supported.
1472 */
1473 int ret = 0;
1474
1475 if (tp->t_fb->tfb_pru_options) {
1476 ret = (*tp->t_fb->tfb_pru_options)(tp, flags);
1477 }
1478 return (ret);
1479}
1480
1481/*
1482 * Receive out-of-band data.

Callers 2

tcp_usr_sendFunction · 0.85
tcp_usr_rcvoobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected