Function report |
Source Code:include\net\route.h |
Create Date:2022-07-28 06:41:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:p_route_connect() and ip_route_newports() work in tandem whilst* binding a socket for a new outgoing connection.* In order to use IPSEC properly, we must, in the end, have a* route that was looked up using all available keys including source
Proto:static inline void ip_route_connect_init(struct flowi4 *fl4, __be32 dst, __be32 src, u32 tos, int oif, u8 protocol, __be16 sport, __be16 dport, struct sock *sk)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct flowi4 * | fl4 | |
__be32 | dst | |
__be32 | src | |
u32 | tos | |
int | oif | |
u8 | protocol | |
__be16 | sport | |
__be16 | dport | |
struct sock * | sk |
290 | flow_flags = 0 |
292 | If transparent Then flow_flags |= FLOWI_FLAG_ANYSRC |
295 | flowi4_init_output(fl4, oif, sk_mark, tos, RT_SCOPE_UNIVERSE, protocol, flow_flags, dst, src, dport, sport, sk_uid) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |