mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2024-11-23 18:19:50 +00:00
doc/route: fix example code comments
Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
This commit is contained in:
parent
f3d5c44d21
commit
4b9370c6c9
@ -949,7 +949,7 @@ extern uint8_t rtnl_link_ipip_get_pmtudisc(struct rtnl_link *link);
|
||||
struct rtnl_link *link
|
||||
struct in_addr addr
|
||||
|
||||
/* allocate new link object of type vxlan */
|
||||
/* allocate new link object of type ipip */
|
||||
if(!(link = rtnl_link_ipip_alloc()))
|
||||
/* error */
|
||||
|
||||
@ -1027,7 +1027,7 @@ extern uint8_t rtnl_link_ipgre_get_pmtudisc(struct rtnl_link *link);
|
||||
struct rtnl_link *link
|
||||
struct in_addr addr
|
||||
|
||||
/* allocate new link object of type vxlan */
|
||||
/* allocate new link object of type ipgre */
|
||||
if(!(link = rtnl_link_ipgre_alloc()))
|
||||
/* error */
|
||||
|
||||
@ -1105,7 +1105,7 @@ extern uint8_t rtnl_link_sit_get_pmtudisc(struct rtnl_link *link);
|
||||
struct rtnl_link *link
|
||||
struct in_addr addr
|
||||
|
||||
/* allocate new link object of type vxlan */
|
||||
/* allocate new link object of type sit */
|
||||
if(!(link = rtnl_link_sit_alloc()))
|
||||
/* error */
|
||||
|
||||
@ -1169,7 +1169,7 @@ extern uint32_t rtnl_link_ipvti_get_remote(struct rtnl_link *link);
|
||||
struct rtnl_link *link
|
||||
struct in_addr addr
|
||||
|
||||
/* allocate new link object of type vxlan */
|
||||
/* allocate new link object of type ipvti */
|
||||
if(!(link = rtnl_link_ipvti_alloc()))
|
||||
/* error */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user