Searched refs:iptos (Results 1 – 3 of 3) sorted by relevance
39 const char * iptos2str(int iptos);145 iptos2str(int iptos) in iptos2str() argument149 if (iptos < 0 || iptos > 64) iptos = 0; in iptos2str()151 if (ipqos[i].value == iptos) in iptos2str()154 snprintf(iptos_str, sizeof iptos_str, "0x%02x", iptos); in iptos2str()
25 static char *iptos(bpf_u_int32 in);160 printf("Preferred device is on network: %s/%s\n",iptos(net), iptos(mask)); in main()301 static char *iptos(bpf_u_int32 in) in iptos() function
1136 iptos2str(int iptos) in iptos2str() argument1142 if (ipqos[i].value == iptos) in iptos2str()1145 snprintf(iptos_str, sizeof iptos_str, "0x%02x", iptos); in iptos2str()