Home
last modified time | relevance | path

Searched refs:tcp_opt_buf (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.41.6/bsd/net/
H A Dpacket_mangler.c899 unsigned char tcp_opt_buf[TCP_MAX_OPTLEN] = {0}; in pktmnglr_ipfilter_input() local
917 …error = mbuf_copydata(*data, (size_t)offset + sizeof(struct tcphdr), orig_tcp_optlen, tcp_opt_buf); in pktmnglr_ipfilter_input()
925 if (tcp_opt_buf[i] == 0x1) { in pktmnglr_ipfilter_input()
930 } else if ((tcp_opt_buf[i] != 0) && (tcp_opt_buf[i] != TCP_OPT_MULTIPATH_TCP)) { in pktmnglr_ipfilter_input()
933 PKT_MNGLR_LOG(LOG_INFO, "Skipping option %x\n", tcp_opt_buf[i]); in pktmnglr_ipfilter_input()
941 optlen = tcp_opt_buf[i + 1]; in pktmnglr_ipfilter_input()
949 } else if (tcp_opt_buf[i] == TCP_OPT_MULTIPATH_TCP) { in pktmnglr_ipfilter_input()
961 mptcpoptlen = tcp_opt_buf[i + 1]; in pktmnglr_ipfilter_input()
967 sbtver = tcp_opt_buf[i + MPTCP_SBT_VER_OFFSET]; in pktmnglr_ipfilter_input()
970 PKT_MNGLR_LOG(LOG_INFO, "Got MPTCP option %x\n", tcp_opt_buf[i]); in pktmnglr_ipfilter_input()
[all …]