lwIP
tcp_hdr::src
is only used within lwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
lwIP
tcp_hdr::src
tcp_hdr::src field
Syntax
Show:
Summary
Declaration
from
tcp.h:57
u16_t
src
;
Examples
References
from
examples
Code
Location
Referrer
PACK_STRUCT_FIELD
(
u16_t
src
)
;
tcp.h:57
tcphdr
->
src
=
sport_be
;
ip4_napt.c:351
ip_napt_send_rst()
checksumadjust
(
(
u8_t
*
)
&
tcphdr
->
chksum
,
(
u8_t
*
)
&
tcphdr
->
src
,
2
,
(
u8_t
*
)
&
newval
,
2
)
;
ip4_napt.c:708
ip_napt_modify_port_tcp()
tcphdr
->
src
=
newval
;
ip4_napt.c:709
ip_napt_modify_port_tcp()
t
=
ip_napt_find
(
IP_PROTO_TCP
,
iphdr
->
src
.
addr
,
tcphdr
->
src
,
tcphdr
->
dest
,
1
)
;
ip4_napt.c:803
ip_napt_recv()
struct
ip_portmap_entry
*
m
=
ip_portmap_find_dest
(
IP_PROTO_TCP
,
tcphdr
->
src
,
iphdr
->
src
.
addr
)
;
ip4_napt.c:884
ip_napt_forward()
if
(
m
->
mport
!=
tcphdr
->
src
)
ip4_napt.c:887
ip_napt_forward()
PP_NTOHS
(
tcphdr
->
src
)
>=
1024
)
{
ip4_napt.c:895
ip_napt_forward()
mport
=
ip_napt_add
(
IP_PROTO_TCP
,
iphdr
->
src
.
addr
,
tcphdr
->
src
,
ip4_napt.c:897
ip_napt_forward()
struct
ip_napt_entry
*
t
=
ip_napt_find
(
IP_PROTO_TCP
,
iphdr
->
src
.
addr
,
tcphdr
->
src
,
0
,
0
)
;
ip4_napt.c:907
ip_napt_forward()
if
(
mport
!=
tcphdr
->
src
)
ip4_napt.c:928
ip_napt_forward()
tcphdr
->
src
=
lwip_ntohs
(
tcphdr
->
src
)
;
tcp_in.c:239
tcp_input()
if
(
pcb
->
remote_port
==
tcphdr
->
src
&&
tcp_in.c:273
tcp_input()
if
(
pcb
->
remote_port
==
tcphdr
->
src
&&
tcp_in.c:306
tcp_input()
ip_current_src_addr
(
)
,
tcphdr
->
dest
,
tcphdr
->
src
)
;
tcp_in.c:593
tcp_input()
ip_current_src_addr
(
)
,
tcphdr
->
dest
,
tcphdr
->
src
)
;
tcp_in.c:663
tcp_listen_input()
npcb
->
remote_port
=
tcphdr
->
src
;
tcp_in.c:692
tcp_listen_input()
ip_current_src_addr
(
)
,
tcphdr
->
dest
,
tcphdr
->
src
)
;
tcp_in.c:775
tcp_timewait_input()
ip_current_src_addr
(
)
,
tcphdr
->
dest
,
tcphdr
->
src
)
;
tcp_in.c:936
tcp_process()
ip_current_src_addr
(
)
,
tcphdr
->
dest
,
tcphdr
->
src
)
;
tcp_in.c:1001
tcp_process()
seg
->
tcphdr
->
src
=
lwip_htons
(
pcb
->
local_port
)
;
tcp_out.c:200
tcp_create_segment()
tcphdr
->
src
=
lwip_htons
(
src_port
)
;
tcp_out.c:1834
tcp_output_alloc_header_common()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tcp_hdr::src
is written by 5 functions and is read by 6 functions:
tcp_input()
tcp_create_segment()
tcp_output_alloc_header_common()
ip_napt_send_rst()
ip_napt_modify_port_tcp()
All items filtered out
tcp_hdr::src
tcp_input()
tcp_listen_input()
tcp_timewait_input()
tcp_process()
ip_napt_recv()
ip_napt_forward()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out