29 if (not listening() and (ip_dgram.
header().
dst != config().source.ipv4_numeric())) {
34 if (not listening() and (ip_dgram.
header().
src != config().destination.ipv4_numeric())) {
50 if (tcp_seg.
header().
dport != config().source.port()) {
57 config_mutable().source = {inet_ntoa({htobe32(ip_dgram.
header().
dst)}), config().source.port()};
58 config_mutable().destination = {inet_ntoa({htobe32(ip_dgram.
header().
src)}), tcp_seg.
header().
sport};
66 if (tcp_seg.
header().
sport != config().destination.port()) {
82 ip_dgram.
header().
src = config().source.ipv4_numeric();
83 ip_dgram.
header().
dst = config().destination.ipv4_numeric();