Lines Matching full:linklayer
35 fprintf(stderr, " [ overhead BYTES ] [ linklayer TYPE ]\n");
57 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */
123 } else if (matches(*argv, "linklayer") == 0) {
125 if (get_linklayer(&linklayer, *argv)) {
126 explain1("linklayer"); return -1;
154 if (tc_calc_rtable(&r, rtab, cell_log, allot, linklayer) < 0) {
196 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */
340 } else if (matches(*argv, "linklayer") == 0) {
342 if (get_linklayer(&linklayer, *argv)) {
343 explain1("linklayer"); return -1;
365 if (tc_calc_rtable(&r, rtab, cell_log, pktsize, linklayer) < 0) {
445 unsigned int linklayer;
491 linklayer = (r->linklayer & TC_LINKLAYER_MASK);
492 if (linklayer > TC_LINKLAYER_ETHERNET || show_details)
493 fprintf(f, "linklayer %s ", sprint_linklayer(linklayer, b2));