/external/iproute2/ip/ |
link_gre.c | 31 fprintf(f, " [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]\n"); 69 __u8 pmtudisc = 1; local 132 pmtudisc = rta_getattr_u8( 221 pmtudisc = 0; 222 } else if (!matches(*argv, "pmtudisc")) { 223 pmtudisc = 1; 324 addattr_l(n, 1024, IFLA_GRE_PMTUDISC, &pmtudisc, 1);
|
link_iptnl.c | 30 fprintf(f, " [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]\n"); 71 __u8 pmtudisc = 1; local 132 pmtudisc = 208 pmtudisc = 0; 209 } else if (strcmp(*argv, "pmtudisc") == 0) { 210 pmtudisc = 1; 289 if (ttl && pmtudisc == 0) { 299 addattr8(n, 1024, IFLA_IPTUN_PMTUDISC, pmtudisc); 378 fprintf(f, "pmtudisc ");
|
/external/libnl/lib/route/link/ |
ipip.c | 45 uint8_t pmtudisc; member in struct:ipip_info 119 ipip->pmtudisc = nla_get_u8(tb[IFLA_IPTUN_PMTUDISC]); 154 NLA_PUT_U8(msg, IFLA_IPTUN_PMTUDISC, ipip->pmtudisc); 216 nl_dump(p, " pmtudisc "); 217 nl_dump_line(p, "enabled (%#x)\n", ipip->pmtudisc); 489 * @arg pmtudisc path MTU discovery 493 int rtnl_link_ipip_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc) 499 ipip->pmtudisc = pmtudisc; 509 * @return pmtudisc valu [all...] |
sit.c | 47 uint8_t pmtudisc; member in struct:sit_info 125 sit->pmtudisc = nla_get_u8(tb[IFLA_IPTUN_PMTUDISC]); 170 NLA_PUT_U8(msg, IFLA_IPTUN_PMTUDISC, sit->pmtudisc); 517 * @arg pmtudisc path MTU discovery 521 int rtnl_link_sit_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc) 527 sit->pmtudisc = pmtudisc; 537 * @return pmtudisc value 545 return sit->pmtudisc;
|
ipgre.c | 49 uint8_t pmtudisc; member in struct:ipgre_info 151 ipgre->pmtudisc = nla_get_u8(tb[IFLA_GRE_PMTUDISC]); 198 NLA_PUT_U8(msg, IFLA_GRE_PMTUDISC, ipgre->pmtudisc); 281 nl_dump(p, " pmtudisc "); 282 nl_dump_line(p, "enabled (%#x)\n", ipgre->pmtudisc); 688 * @arg pmtudisc path MTU discovery 692 int rtnl_link_ipgre_set_pmtudisc(struct rtnl_link *link, uint8_t pmtudisc) 698 ipgre->pmtudisc = pmtudisc; 708 * @return pmtudisc valu [all...] |
/external/iputils/ |
ping.c | 115 int pmtudisc = -1; variable 221 pmtudisc = IP_PMTUDISC_DO; 223 pmtudisc = IP_PMTUDISC_DONT; 225 pmtudisc = IP_PMTUDISC_WANT; 448 if (pmtudisc >= 0 && pmtudisc != IP_PMTUDISC_DO) { 453 if (pmtudisc < 0) 454 pmtudisc = IP_PMTUDISC_DO; 457 if (pmtudisc >= 0) { 458 if (setsockopt(icmp_sock, SOL_IP, IP_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) [all...] |
ping6.c | 165 int pmtudisc=-1; variable 782 pmtudisc = IPV6_PMTUDISC_DO; 784 pmtudisc = IPV6_PMTUDISC_DONT; 786 pmtudisc = IPV6_PMTUDISC_WANT; 1063 if (pmtudisc >= 0 && pmtudisc != IPV6_PMTUDISC_DO) { 1068 if (pmtudisc < 0) 1069 pmtudisc = IPV6_PMTUDISC_DO; 1072 if (pmtudisc >= 0) { 1073 if (setsockopt(icmp_sock, SOL_IPV6, IPV6_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) [all...] |