Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/net/
H A Dpacket_mangler.c906 unsigned char tcp_opt_buf[TCP_MAX_OPTLEN] = {0}; in pktmnglr_ipfilter_input() local
924 …error = mbuf_copydata(*data, (size_t)offset + sizeof(struct tcphdr), orig_tcp_optlen, tcp_opt_buf); in pktmnglr_ipfilter_input()
932 if (tcp_opt_buf[i] == 0x1) { in pktmnglr_ipfilter_input()
937 } else if ((tcp_opt_buf[i] != 0) && (tcp_opt_buf[i] != TCP_OPT_MULTIPATH_TCP)) { in pktmnglr_ipfilter_input()
940 PKT_MNGLR_LOG(LOG_INFO, "Skipping option %x\n", tcp_opt_buf[i]); in pktmnglr_ipfilter_input()
948 optlen = tcp_opt_buf[i + 1]; in pktmnglr_ipfilter_input()
956 } else if (tcp_opt_buf[i] == TCP_OPT_MULTIPATH_TCP) { in pktmnglr_ipfilter_input()
968 mptcpoptlen = tcp_opt_buf[i + 1]; in pktmnglr_ipfilter_input()
974 sbtver = tcp_opt_buf[i + MPTCP_SBT_VER_OFFSET]; in pktmnglr_ipfilter_input()
977 PKT_MNGLR_LOG(LOG_INFO, "Got MPTCP option %x\n", tcp_opt_buf[i]); in pktmnglr_ipfilter_input()
[all …]