Lines Matching refs:integer
185 ctx->scratch->int2 = value->v.integer; in op_ip()
186 if (value->v.integer == 1) { in op_ip()
190 } else if (value->v.integer == 2) { in op_ip()
200 ctx->scratch->int2 = value->v.integer; in op_ip()
201 if (value->v.integer < 1 || value->v.integer > 255) in op_ip()
203 if (ip_defttl != value->v.integer && in op_ip()
204 ip_setttl(value->v.integer, &old)) in op_ip()
242 value->v.integer = ip_forwarding ? 1 : 2; in op_ip()
246 value->v.integer = ip_defttl; in op_ip()
324 value->v.integer = ip_fragttl; in op_ipstat()
386 value->v.integer = 0; in op_icmpstat()
388 value->v.integer += icmpstat.icps_inhist[i]; in op_icmpstat()
389 value->v.integer += icmpstat.icps_tooshort + in op_icmpstat()
395 value->v.integer = icmpstat.icps_tooshort + in op_icmpstat()
404 value->v.integer = icmpstat.icps_inhist[ICMP_UNREACH]; in op_icmpstat()
408 value->v.integer = icmpstat.icps_inhist[ICMP_TIMXCEED]; in op_icmpstat()
412 value->v.integer = icmpstat.icps_inhist[ICMP_PARAMPROB]; in op_icmpstat()
416 value->v.integer = icmpstat.icps_inhist[ICMP_SOURCEQUENCH]; in op_icmpstat()
420 value->v.integer = icmpstat.icps_inhist[ICMP_REDIRECT]; in op_icmpstat()
424 value->v.integer = icmpstat.icps_inhist[ICMP_ECHO]; in op_icmpstat()
428 value->v.integer = icmpstat.icps_inhist[ICMP_ECHOREPLY]; in op_icmpstat()
432 value->v.integer = icmpstat.icps_inhist[ICMP_TSTAMP]; in op_icmpstat()
436 value->v.integer = icmpstat.icps_inhist[ICMP_TSTAMPREPLY]; in op_icmpstat()
440 value->v.integer = icmpstat.icps_inhist[ICMP_MASKREQ]; in op_icmpstat()
444 value->v.integer = icmpstat.icps_inhist[ICMP_MASKREPLY]; in op_icmpstat()
448 value->v.integer = 0; in op_icmpstat()
450 value->v.integer += icmpstat.icps_outhist[i]; in op_icmpstat()
451 value->v.integer += icmpstat.icps_badaddr + in op_icmpstat()
456 value->v.integer = icmpstat.icps_badaddr + in op_icmpstat()
461 value->v.integer = icmpstat.icps_outhist[ICMP_UNREACH]; in op_icmpstat()
465 value->v.integer = icmpstat.icps_outhist[ICMP_TIMXCEED]; in op_icmpstat()
469 value->v.integer = icmpstat.icps_outhist[ICMP_PARAMPROB]; in op_icmpstat()
473 value->v.integer = icmpstat.icps_outhist[ICMP_SOURCEQUENCH]; in op_icmpstat()
477 value->v.integer = icmpstat.icps_outhist[ICMP_REDIRECT]; in op_icmpstat()
481 value->v.integer = icmpstat.icps_outhist[ICMP_ECHO]; in op_icmpstat()
485 value->v.integer = icmpstat.icps_outhist[ICMP_ECHOREPLY]; in op_icmpstat()
489 value->v.integer = icmpstat.icps_outhist[ICMP_TSTAMP]; in op_icmpstat()
493 value->v.integer = icmpstat.icps_outhist[ICMP_TSTAMPREPLY]; in op_icmpstat()
497 value->v.integer = icmpstat.icps_outhist[ICMP_MASKREQ]; in op_icmpstat()
501 value->v.integer = icmpstat.icps_outhist[ICMP_MASKREPLY]; in op_icmpstat()