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

Function tcp_fields_to_host

freebsd/netinet/tcp_var.h:1075–1083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1073void tcp_log_end_status(struct tcpcb *tp, uint8_t status);
1074
1075static inline void
1076tcp_fields_to_host(struct tcphdr *th)
1077{
1078
1079 th->th_seq = ntohl(th->th_seq);
1080 th->th_ack = ntohl(th->th_ack);
1081 th->th_win = ntohs(th->th_win);
1082 th->th_urp = ntohs(th->th_urp);
1083}
1084
1085static inline void
1086tcp_fields_to_net(struct tcphdr *th)

Callers 3

tcp_inputFunction · 0.70
ctf_process_inbound_rawFunction · 0.50
tcp_ipsec_inputFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected