/dflybsd-src/sys/netproto/mpls/ |
H A D | mpls_output.c | 55 mpls_ttl_t ttl = 255; in mpls_output() local 69 ttl = ip->ip_ttl; in mpls_output() 86 ttl); in mpls_output() 153 mpls_push(struct mbuf **m, mpls_label_t label, mpls_s_t s, mpls_exp_t exp, mpls_ttl_t ttl) { in mpls_push() argument 164 MPLS_SET_TTL(buf, ttl); in mpls_push() 175 mpls_ttl_t ttl; in mpls_swap() local 183 ttl = MPLS_TTL(buf); in mpls_swap() 184 if (--ttl <= 0) { in mpls_swap() 190 MPLS_SET_TTL(buf, ttl); /* XXX tunnel mode: uniform, pipe, short pipe */ in mpls_swap()
|
/dflybsd-src/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 106 int check_signal(int s, char* ip, unsigned char* ttl, unsigned short* port) { in check_signal() argument 114 unsigned char ttl; in check_signal() member 155 *ttl = ctl.ttl; in check_signal() 162 char* ip, char* ttl, unsigned short *port) { 179 *ttl = iph->ip_ttl; 315 unsigned char ttl = 0; in main() local 398 ip, &ttl, &port)) { in main() 401 ip, port, ttl); in main() 419 if (ttlnew != ttl || strcmp(ipnew, ip) != 0 || in main() 423 ttl = ttlnew; in main() [all …]
|
/dflybsd-src/test/cpuperf/ |
H A D | cputest.c | 20 int ttl; in main() local 31 ttl = i * 4; in main() 33 for (i = 0; i < ttl; ++i) { in main() 38 for (i = 0; i < ttl; ++i) { in main() 42 stop_timing2(ttl, us2 - us1, "instruction overhead:"); in main()
|
/dflybsd-src/lib/libutil/ |
H A D | login_ok.c | 135 const char **ttl; in login_ttyok() local 139 ttl = login_getcaplist(lc, allowcap, NULL); in login_ttyok() 141 if (ttl != NULL && !login_str2inlist(ttl, tty, grp, 0)) in login_ttyok() 145 ttl = login_getcaplist(lc, denycap, NULL); in login_ttyok() 146 if (ttl != NULL && login_str2inlist(ttl, tty, grp, 0)) in login_ttyok()
|
/dflybsd-src/lib/libkvm/ |
H A D | kvm_util.c | 53 kvm_nch_cpuagg(struct nchstats *unagg, struct nchstats *ttl, int cpucnt) in kvm_nch_cpuagg() argument 58 if (!unagg && !ttl) in kvm_nch_cpuagg() 61 bzero(ttl, siz); in kvm_nch_cpuagg() 66 *(u_long *)((char *)(*(&ttl)) + off) += in kvm_nch_cpuagg()
|
H A D | kvm_getswapinfo.c | 123 swblk_t ttl; in kvm_getswapinfo() local 170 ttl = swinfo.sw_nblks - dmmax; in kvm_getswapinfo() 171 if (ttl == 0) in kvm_getswapinfo() 174 swap_ary[swi].ksw_total += ttl; in kvm_getswapinfo() 178 swap_ary[ti].ksw_total = ttl; in kvm_getswapinfo()
|
/dflybsd-src/sbin/jscan/ |
H A D | jfile.c | 770 int ttl = 0; in jreadbuf() local 777 while (ttl != bytes) { in jreadbuf() 778 n = read(jf->jf_fd, (char *)buf + ttl, bytes - ttl); in jreadbuf() 780 if (n < 0 && ttl == 0) in jreadbuf() 781 ttl = -errno; in jreadbuf() 784 ttl += n; in jreadbuf() 791 while (ttl != bytes) { in jreadbuf() 792 n = read(jf->jf_fd, (char *)buf + ttl, bytes - ttl); in jreadbuf() 794 if (n < 0 && ttl == 0) in jreadbuf() 795 ttl = -errno; in jreadbuf() [all …]
|
/dflybsd-src/lib/libc/nameser/ |
H A D | ns_ttl.c | 96 u_long ttl, tmp; in ns_parse_ttl() local 99 ttl = 0; in ns_parse_ttl() 124 ttl += tmp; in ns_parse_ttl() 133 ttl += tmp; in ns_parse_ttl() 136 *dst = ttl; in ns_parse_ttl()
|
/dflybsd-src/contrib/tcpdump/ |
H A D | print-carp.c | 49 carp_print(netdissect_options *ndo, const u_char *bp, u_int len, u_int ttl) in carp_print() argument 62 if (ttl != 255) in carp_print() 63 ND_PRINT("[ttl=%u!] ", ttl); in carp_print()
|
H A D | print-lisp.c | 200 nd_uint32_t ttl; member 243 uint32_t ttl; in lisp_print() local 299 ttl = GET_BE_U_4(lisp_eid->ttl); in lisp_print() 300 ND_PRINT(" Record TTL %u,", ttl); in lisp_print()
|
H A D | print-vrrp.c | 108 const u_char *bp2, int ttl) in vrrp_print() argument 118 if (ttl != 255) in vrrp_print() 119 ND_PRINT(", (ttl %u)", ttl); in vrrp_print()
|
H A D | print-cfm.c | 116 nd_uint8_t ttl; member 128 nd_uint8_t ttl; member 484 GET_U_1(msg_ptr.cfm_ltm->ttl)); in cfm_print() 507 GET_U_1(msg_ptr.cfm_ltr->ttl)); in cfm_print()
|
H A D | print-olsr.c | 96 nd_uint8_t ttl; member 106 nd_uint8_t ttl; member 383 GET_U_1(msgptr.v6->ttl), in olsr_print() 414 GET_U_1(msgptr.v4->ttl), in olsr_print()
|
/dflybsd-src/usr.bin/systat/ |
H A D | tcp.c | 252 proto ##_stats_agg(type *ary, type *ttl, int cpucnt) \ 257 if (!ary && !ttl) \ 260 bzero(ttl, siz); \ 262 *ttl = ary[0]; \ 266 *(u_long *)((char *)(*(&ttl)) + off) += \
|
H A D | ip.c | 242 proto ##_stats_agg(type *ary, type *ttl, int cpucnt) \ 247 if (!ary && !ttl) \ 250 bzero(ttl, siz); \ 252 *ttl = ary[0]; \ 256 *(u_long *)((char *)(*(&ttl)) + off) += \
|
/dflybsd-src/usr.sbin/traceroute/ |
H A D | traceroute.c | 241 u_int8_t ttl; /* ttl packet left with */ member 327 u_int8_t ttl; in main() local 600 for (ttl = first_ttl; ttl <= max_ttl; ++ttl) { in main() 606 printf("%2u ", ttl); in main() 613 send_probe(++seq, ttl, incflag, &to); in main() 895 send_probe(int seq, u_int8_t ttl, int iflag, struct sockaddr_in *to) in send_probe() argument 906 ip->ip_ttl = ttl; in send_probe() 933 op->ttl = ttl; in send_probe()
|
/dflybsd-src/contrib/ldns/ldns/ |
H A D | zone.h | 138 ldns_status ldns_zone_new_frm_fp(ldns_zone **z, FILE *fp, const ldns_rdf *origin, uint32_t ttl, ldn… 151 ldns_status ldns_zone_new_frm_fp_l(ldns_zone **z, FILE *fp, const ldns_rdf *origin, uint32_t ttl, l…
|
H A D | dnssec_zone.h | 380 const ldns_rdf* origin, uint32_t ttl, ldns_rr_class c); 394 const ldns_rdf* origin, uint32_t ttl, ldns_rr_class c, int* line_nr);
|
/dflybsd-src/usr.sbin/ypserv/ |
H A D | yp_dnslookup.c | 114 unsigned long ttl; member 323 q->ttl--; in yp_prune_dnsq() 325 if (!q->ttl) { in yp_prune_dnsq() 437 q->ttl = DEF_TTL; in yp_async_lookup_name() 522 q->ttl = DEF_TTL; in yp_async_lookup_addr()
|
/dflybsd-src/sys/kern/ |
H A D | kern_slaballoc.c | 399 long ttl; in malloc_uninit() local 447 ttl = 0; in malloc_uninit() 451 ttl += type->ks_use[i].memuse; in malloc_uninit() 459 if (ttl) { in malloc_uninit() 461 ttl, type->ks_shortdesc, i); in malloc_uninit() 865 long ttl; in _kmalloc_debug() local 867 for (i = ttl = 0; i < ncpus; ++i) in _kmalloc_debug() 868 ttl += type->ks_use[i].memuse; in _kmalloc_debug() 869 type->ks_loosememuse = ttl; /* not MP synchronized */ in _kmalloc_debug() 870 if ((ssize_t)ttl < 0) /* deal with occassional race */ in _kmalloc_debug() [all …]
|
H A D | kern_kmalloc.c | 695 long ttl; in _kmalloc_obj_debug() local 698 for (n = ttl = 0; n < ncpus; ++n) in _kmalloc_obj_debug() 699 ttl += type->ks_use[n].memuse; in _kmalloc_obj_debug() 700 type->ks_loosememuse = ttl; /* not MP synchronized */ in _kmalloc_obj_debug() 701 if ((ssize_t)ttl < 0) /* deal with occassional race */ in _kmalloc_obj_debug() 702 ttl = 0; in _kmalloc_obj_debug() 703 if (ttl >= type->ks_limit) { in _kmalloc_obj_debug()
|
/dflybsd-src/contrib/ldns/ |
H A D | rr.c | 131 char *ttl = NULL; in ldns_rr_new_frm_str_internal() local 166 ttl = LDNS_XMALLOC(char, LDNS_TTL_DATALEN); in ldns_rr_new_frm_str_internal() 179 if (!new || !owner || !ttl || !clas || !rdata || in ldns_rr_new_frm_str_internal() 194 if (ldns_bget_token(rr_buf, ttl, "\t\n ", LDNS_TTL_DATALEN) == -1) { in ldns_rr_new_frm_str_internal() 199 ttl_val = (uint32_t) ldns_str2period(ttl, &endptr); in ldns_rr_new_frm_str_internal() 201 if (strlen(ttl) > 0 && !isdigit((int) ttl[0])) { in ldns_rr_new_frm_str_internal() 216 clas_val = ldns_get_rr_class_by_name(ttl); in ldns_rr_new_frm_str_internal() 222 type_sz = strlen(ttl) + 1; in ldns_rr_new_frm_str_internal() 227 strlcpy(type, ttl, type_sz); in ldns_rr_new_frm_str_internal() 338 LDNS_FREE(ttl); in ldns_rr_new_frm_str_internal() [all …]
|
/dflybsd-src/contrib/wpa_supplicant/src/wps/ |
H A D | wps_upnp_ssdp.c | 733 unsigned char ttl = 4; in ssdp_listener_open() local 753 &ttl, sizeof(ttl))) in ssdp_listener_open() 857 unsigned char ttl = 4; in ssdp_open_multicast_sock() local 894 &ttl, sizeof(ttl))) { in ssdp_open_multicast_sock()
|
/dflybsd-src/usr.bin/nfsstat/ |
H A D | nfsstat.c | 446 sperc2(int ttl, int misses) in sperc2() argument 450 if (ttl) { in sperc2() 452 (int)(char)((quad_t)(ttl - misses) * 100 / ttl)); in sperc2()
|
/dflybsd-src/usr.bin/vmstat/ |
H A D | vmstat.c | 977 long ttl; in cpuagg() local 979 ttl = 0; in cpuagg() 984 ttl += ks->ks_use[i].inuse; in cpuagg() 988 ttl += ks->ks_use[i].memuse; in cpuagg() 991 ttl = (ks->ks_mgt.npartial + ks->ks_mgt.nfull + ks->ks_mgt.nempty) * in cpuagg() 999 ttl += KMALLOC_SLAB_SIZE; in cpuagg() 1004 ttl += KMALLOC_SLAB_SIZE; in cpuagg() 1010 ttl += ks->ks_use[i].calls; in cpuagg() 1013 return(ttl); in cpuagg()
|