Lines Matching refs:prio
30 static int prog_load(__u32 idx, __u32 mark, __u32 prio) in prog_load() argument
69 BPF_MOV64_IMM(BPF_REG_3, prio), in prog_load()
90 if (prio) in prog_load()
112 if (prio) { in prog_load()
158 unsigned int prio = 0; in get_priority() local
159 socklen_t optlen = sizeof(prio); in get_priority()
162 rc = getsockopt(sd, SOL_SOCKET, SO_PRIORITY, &prio, &optlen); in get_priority()
166 return prio; in get_priority()
171 unsigned int mark, prio; in show_sockopts() local
185 prio = get_priority(sd); in show_sockopts()
189 printf("sd %d: dev %s, mark %u, priority %u\n", sd, name, mark, prio); in show_sockopts()
210 __u32 idx = 0, mark = 0, prio = 0; in main() local
236 prio = strtoumax(optarg, NULL, 0); in main()
255 if (do_attach && !idx && !mark && !prio) { in main()
268 prog_fd = prog_load(idx, mark, prio); in main()