Searched refs:ptab (Results 1 – 5 of 5) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | plog.c | 86 } ptab[] = { variable 119 if (pri < ARRAYLEN(ptab)) { 120 len = snprintf(p, reslen, "%s: ", ptab[pri].name); 170 if (pri < ARRAYLEN(ptab)) in plogv() 171 vsyslog(ptab[pri].priority, newfmt, ap_bak); in plogv()
|
/external/ltp/testcases/network/lib6/ |
D | asapi_01.c | 43 } ptab[] = { variable 55 #define PTCOUNT ARRAY_SIZE(ptab) 117 pe = getprotobyname(ptab[i].prt_name); in do_tests() 118 pass = pe && pe->p_proto == ptab[i].prt_value; in do_tests() 120 ptab[i].prt_name); in do_tests()
|
/external/libnl/lib/route/qdisc/ |
D | tbf.c | 133 uint32_t rtab[RTNL_TC_RTABLE_SIZE], ptab[RTNL_TC_RTABLE_SIZE]; in tbf_msg_fill() local 150 rtnl_tc_build_rate_table(tc, &tbf->qt_peakrate, ptab); in tbf_msg_fill() 159 NLA_PUT(msg, TCA_TBF_PTAB, sizeof(ptab), ptab); in tbf_msg_fill()
|
/external/iproute2/tc/ |
D | m_police.c | 63 __u32 ptab[256]; in act_parse_police() local 225 if (tc_calc_rtable(&p.peakrate, ptab, Pcell_log, mtu, in act_parse_police() 238 addattr_l(n, MAX_MSG, TCA_POLICE_PEAKRATE, ptab, 1024); in act_parse_police()
|
D | q_tbf.c | 44 __u32 ptab[256]; in tbf_parse_opt() local 227 if (tc_calc_rtable(&opt.peakrate, ptab, Pcell_log, mtu, linklayer) < 0) { in tbf_parse_opt() 245 addattr_l(n, 4096, TCA_TBF_PTAB, ptab, 1024); in tbf_parse_opt()
|