Searched refs:pmtudisc (Results 1 – 12 of 12) sorted by relevance
/external/libnl/lib/route/link/ |
D | ipip.c | 45 uint8_t pmtudisc; member 119 ipip->pmtudisc = nla_get_u8(tb[IFLA_IPTUN_PMTUDISC]); in ipip_parse() 154 NLA_PUT_U8(msg, IFLA_IPTUN_PMTUDISC, ipip->pmtudisc); in ipip_put_attrs() 217 nl_dump_line(p, "enabled (%#x)\n", ipip->pmtudisc); in ipip_dump_details() 493 int rtnl_link_ipip_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc) in rtnl_link_ipip_set_pmtudisc() argument 499 ipip->pmtudisc = pmtudisc; in rtnl_link_ipip_set_pmtudisc() 517 return ipip->pmtudisc; in rtnl_link_ipip_get_pmtudisc()
|
D | ipgre.c | 49 uint8_t pmtudisc; member 151 ipgre->pmtudisc = nla_get_u8(tb[IFLA_GRE_PMTUDISC]); in ipgre_parse() 198 NLA_PUT_U8(msg, IFLA_GRE_PMTUDISC, ipgre->pmtudisc); in ipgre_put_attrs() 282 nl_dump_line(p, "enabled (%#x)\n", ipgre->pmtudisc); in ipgre_dump_details() 692 int rtnl_link_ipgre_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc) in rtnl_link_ipgre_set_pmtudisc() argument 698 ipgre->pmtudisc = pmtudisc; in rtnl_link_ipgre_set_pmtudisc() 716 return ipgre->pmtudisc; in rtnl_link_get_pmtudisc()
|
D | sit.c | 47 uint8_t pmtudisc; member 125 sit->pmtudisc = nla_get_u8(tb[IFLA_IPTUN_PMTUDISC]); in sit_parse() 170 NLA_PUT_U8(msg, IFLA_IPTUN_PMTUDISC, sit->pmtudisc); in sit_put_attrs() 521 int rtnl_link_sit_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc) in rtnl_link_sit_set_pmtudisc() argument 527 sit->pmtudisc = pmtudisc; in rtnl_link_sit_set_pmtudisc() 545 return sit->pmtudisc; in rtnl_link_sit_get_pmtudisc()
|
/external/iproute2/ip/ |
D | link_iptnl.c | 71 __u8 pmtudisc = 1; in iptunnel_parse_opt() local 132 pmtudisc = in iptunnel_parse_opt() 208 pmtudisc = 0; in iptunnel_parse_opt() 210 pmtudisc = 1; in iptunnel_parse_opt() 289 if (ttl && pmtudisc == 0) { in iptunnel_parse_opt() 299 addattr8(n, 1024, IFLA_IPTUN_PMTUDISC, pmtudisc); in iptunnel_parse_opt()
|
D | link_gre.c | 69 __u8 pmtudisc = 1; in gre_parse_opt() local 132 pmtudisc = rta_getattr_u8( in gre_parse_opt() 221 pmtudisc = 0; in gre_parse_opt() 223 pmtudisc = 1; in gre_parse_opt() 324 addattr_l(n, 1024, IFLA_GRE_PMTUDISC, &pmtudisc, 1); in gre_parse_opt()
|
/external/iputils/ |
D | ping.c | 115 int pmtudisc = -1; variable 221 pmtudisc = IP_PMTUDISC_DO; in main() 223 pmtudisc = IP_PMTUDISC_DONT; in main() 225 pmtudisc = IP_PMTUDISC_WANT; in main() 448 if (pmtudisc >= 0 && pmtudisc != IP_PMTUDISC_DO) { in main() 453 if (pmtudisc < 0) in main() 454 pmtudisc = IP_PMTUDISC_DO; in main() 457 if (pmtudisc >= 0) { in main() 458 if (setsockopt(icmp_sock, SOL_IP, IP_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) { in main()
|
D | ping6.c | 165 int pmtudisc=-1; variable 782 pmtudisc = IPV6_PMTUDISC_DO; in main() 784 pmtudisc = IPV6_PMTUDISC_DONT; in main() 786 pmtudisc = IPV6_PMTUDISC_WANT; in main() 1063 if (pmtudisc >= 0 && pmtudisc != IPV6_PMTUDISC_DO) { in main() 1068 if (pmtudisc < 0) in main() 1069 pmtudisc = IPV6_PMTUDISC_DO; in main() 1072 if (pmtudisc >= 0) { in main() 1073 if (setsockopt(icmp_sock, SOL_IPV6, IPV6_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) { in main()
|
/external/libnl/include/netlink/route/link/ |
D | ipip.h | 40 extern int rtnl_link_ipip_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc);
|
D | sit.h | 40 extern int rtnl_link_sit_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc);
|
D | ipgre.h | 52 extern int rtnl_link_ipgre_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc);
|
/external/iproute2/doc/ |
D | Plan | 10 2.2 Path MTU Discovery (api-pmtudisc.tex)
|
/external/libnl/doc/ |
D | route.txt | 884 extern int rtnl_link_ipip_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc); 962 extern int rtnl_link_ipgre_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc); 1040 extern int rtnl_link_sit_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc);
|