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

Function tcp_fields_to_net

freebsd/netinet/tcp_var.h:1085–1093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1083}
1084
1085static inline void
1086tcp_fields_to_net(struct tcphdr *th)
1087{
1088
1089 th->th_seq = htonl(th->th_seq);
1090 th->th_ack = htonl(th->th_ack);
1091 th->th_win = htons(th->th_win);
1092 th->th_urp = htons(th->th_urp);
1093}
1094#endif /* _KERNEL */
1095
1096#endif /* _NETINET_TCP_VAR_H_ */

Callers 2

tcp_log_event_Function · 0.70
tcp_ipsec_inputFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected