Home
last modified time | relevance | path

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

/xnu-8796.141.3/bsd/net/
H A Dpacket_mangler.c897 unsigned char tcp_opt_buf[TCP_MAX_OPTLEN] = {0}; in pktmnglr_ipfilter_input() local
915 …error = mbuf_copydata(*data, (size_t)offset + sizeof(struct tcphdr), orig_tcp_optlen, tcp_opt_buf); in pktmnglr_ipfilter_input()
923 if (tcp_opt_buf[i] == 0x1) { in pktmnglr_ipfilter_input()
928 } else if ((tcp_opt_buf[i] != 0) && (tcp_opt_buf[i] != TCP_OPT_MULTIPATH_TCP)) { in pktmnglr_ipfilter_input()
931 PKT_MNGLR_LOG(LOG_INFO, "Skipping option %x\n", tcp_opt_buf[i]); in pktmnglr_ipfilter_input()
939 optlen = tcp_opt_buf[i + 1]; in pktmnglr_ipfilter_input()
947 } else if (tcp_opt_buf[i] == TCP_OPT_MULTIPATH_TCP) { in pktmnglr_ipfilter_input()
959 mptcpoptlen = tcp_opt_buf[i + 1]; in pktmnglr_ipfilter_input()
965 sbtver = tcp_opt_buf[i + MPTCP_SBT_VER_OFFSET]; in pktmnglr_ipfilter_input()
968 PKT_MNGLR_LOG(LOG_INFO, "Got MPTCP option %x\n", tcp_opt_buf[i]); in pktmnglr_ipfilter_input()
[all …]