/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_sock_fields.c | 72 dst->priority = src->priority;
|
H A D | lsm_cgroup.c | 148 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) argument 174 /* Accepted request sockets get a different priority. */
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_do_redirect.c | 43 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd);
|
H A D | test_tunnel.c | 370 .priority = 1, .prog_fd = igr_fd); 372 .priority = 1, .prog_fd = egr_fd);
|
H A D | tc_redirect.c | 333 const struct bpf_program *prog, int priority) 341 tc_attach.priority = priority; 347 priority, bpf_program__name(prog)); 359 #define XGRESS_FILTER_ADD(qdisc_hook, xgress, prog, priority) ({ \ 360 if ((err = xgress_filter_add(qdisc_hook, xgress, prog, priority))) \ 331 xgress_filter_add(struct bpf_tc_hook *qdisc_hook, enum bpf_tc_attach_point xgress, const struct bpf_program *prog, int priority) argument
|
H A D | ip_check_defrag.c | 85 .priority = 42,
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.h | 813 __s32 priority; member in struct:bpf_netfilter_opts 1265 __u32 priority; member in struct:bpf_tc_opts 1268 #define bpf_tc_opts__last_field priority
|
H A D | libbpf.c | 12808 lopts.netfilter.priority = OPTS_GET(opts, priority, 0);
|
H A D | bpf.h | 425 __s32 priority; member in struct:bpf_link_create_opts::__anon3629::__anon3634
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1750 __s32 priority; member in struct:bpf_attr::__anon3514::__anon3517::__anon3522 2987 * **priority** pointers, or other pointers for the socket buffer. 6231 __u32 priority; member in struct:__sk_buff 6332 __u32 priority; member in struct:bpf_sock 6669 __s32 priority; member in struct:bpf_link_info::__anon3568::__anon3581 7177 __be32 flowinfo; /* AF_INET6, flow_label + priority */
|
/linux-master/tools/bpf/bpftool/ |
H A D | link.c | 230 info->netfilter.priority); 709 printf(" prio %d", info->netfilter.priority);
|
/linux-master/security/selinux/ |
H A D | hooks.c | 5224 static int selinux_sk_alloc_security(struct sock *sk, int family, gfp_t priority) argument 5228 sksec = kzalloc(sizeof(*sksec), priority); 7487 .priority = NF_IP_PRI_SELINUX_LAST, 7493 .priority = NF_IP_PRI_SELINUX_FIRST, 7499 .priority = NF_IP_PRI_SELINUX_FIRST, 7506 .priority = NF_IP6_PRI_SELINUX_LAST, 7512 .priority = NF_IP6_PRI_SELINUX_FIRST, 7518 .priority = NF_IP6_PRI_SELINUX_FIRST,
|
/linux-master/security/ |
H A D | security.c | 4654 * @priority: gfp flags 4661 int security_sk_alloc(struct sock *sk, int family, gfp_t priority) argument 4663 return call_int_hook(sk_alloc_security, sk, family, priority);
|
/linux-master/security/apparmor/ |
H A D | lsm.c | 2109 .priority = NF_IP_PRI_SELINUX_FIRST, 2116 .priority = NF_IP6_PRI_SELINUX_FIRST,
|
/linux-master/net/xfrm/ |
H A D | xfrm_user.c | 1999 xp->priority = p->priority; 2015 p->priority = xp->priority;
|
H A D | xfrm_policy.c | 112 * the lowest priority. If two results have same prio, youngest one wins. 877 if (policy->priority > p->priority) 879 else if (policy->priority == p->priority && 1365 if (policy->priority >= pol->priority) 1535 if (policy->priority > pol->priority) 1537 } else if (policy->priority > 2113 u32 priority = prefer ? prefer->priority : ~0u; local 4461 u32 priority = ~0U; local [all...] |
H A D | xfrm_interface_core.c | 989 .priority = 10, 997 .priority = 10, 1005 .priority = 10, 1024 .priority = 2, 1031 .priority = 2, 1040 .priority = 10, 1048 .priority = 10, 1056 .priority = 10, 1069 .priority = 3, 1076 .priority [all...] |
H A D | xfrm_compat.c | 27 __u32 priority, index; member in struct:compat_xfrm_userpolicy_info
|
/linux-master/net/tipc/ |
H A D | udp_media.c | 847 .priority = TIPC_DEF_LINK_PRI,
|
/linux-master/net/sched/ |
H A D | sch_taprio.c | 336 tc = netdev_get_prio_tc_map(dev, skb->priority); 541 int prio = skb->priority; 724 prio = skb->priority; 1890 /* Always use supplied priority mappings */
|
H A D | sch_sfq.c | 59 to higher priority band. 171 if (TC_H_MAJ(skb->priority) == sch->handle && 172 TC_H_MIN(skb->priority) > 0 && 173 TC_H_MIN(skb->priority) <= q->divisor) 174 return TC_H_MIN(skb->priority);
|
H A D | sch_skbprio.c | 25 * packets according to their skb->priority field. Under congestion, 26 * Skbprio drops already-enqueued lower priority packets to make space 27 * available for higher priority packets; it was conceived as a solution 49 /* SKB queue is empty, return 0 (default highest priority setting). */ 63 * (default lowest priority setting). 78 /* Obtain the priority of @skb. */ 79 prio = min(skb->priority, max_priority); 100 /* If this packet has the lowest priority, drop it. */ 112 /* Drop the packet at the tail of the lowest priority qdisc. */ 156 /* Update highest priority fiel [all...] |
H A D | sch_htb.c | 45 it allows to assign priority to each class in hierarchy. 212 * We allow direct class selection by classid in priority. The we examine 228 /* allow to select class by setting skb->priority to valid classid; 232 if (skb->priority == sch->handle) 234 cl = htb_find(skb->priority, sch); 308 * @q: the priority event queue 312 * The class is added to priority event queue to indicate that class will 356 * @q: the priority event queue 388 * @q: the priority event queue 418 * @q: the priority even [all...] |
H A D | sch_hfsc.c | 1139 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0 && 1140 (cl = hfsc_find_class(skb->priority, sch)) != NULL)
|
H A D | sch_generic.c | 715 * - rings for priority bands 730 int band = sch_default_prio2band[skb->priority & TC_PRIO_MAX];
|