Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 91) sorted by relevance

1234

/net/netfilter/
Dnf_conntrack_h323_asn1.c114 static int decode_nul(bitstr_t *bs, const struct field_t *f, char *base, int level);
115 static int decode_bool(bitstr_t *bs, const struct field_t *f, char *base, int level);
116 static int decode_oid(bitstr_t *bs, const struct field_t *f, char *base, int level);
117 static int decode_int(bitstr_t *bs, const struct field_t *f, char *base, int level);
118 static int decode_enum(bitstr_t *bs, const struct field_t *f, char *base, int level);
119 static int decode_bitstr(bitstr_t *bs, const struct field_t *f, char *base, int level);
120 static int decode_numstr(bitstr_t *bs, const struct field_t *f, char *base, int level);
121 static int decode_octstr(bitstr_t *bs, const struct field_t *f, char *base, int level);
122 static int decode_bmpstr(bitstr_t *bs, const struct field_t *f, char *base, int level);
123 static int decode_seq(bitstr_t *bs, const struct field_t *f, char *base, int level);
[all …]
Dxt_LOG.c39 li.u.log.level = loginfo->level; in log_tg()
54 if (loginfo->level >= 8) { in log_tg_check()
55 pr_debug("level %u >= 8\n", loginfo->level); in log_tg_check()
/net/sched/
Dsch_htb.c110 int level; /* our level (see above) */ member
223 if (cl->level == 0) in htb_classify()
250 if (!cl->level) in htb_classify()
258 if (!cl || cl->level) in htb_classify()
298 struct rb_node **p = &q->hlevel[cl->level].wait_pq.rb_node, *parent = NULL; in htb_add_to_wait_tree()
305 if (q->near_ev_cache[cl->level] > cl->pq_key) in htb_add_to_wait_tree()
306 q->near_ev_cache[cl->level] = cl->pq_key; in htb_add_to_wait_tree()
318 rb_insert_color(&cl->pq_node, &q->hlevel[cl->level].wait_pq); in htb_add_to_wait_tree()
341 q->row_mask[cl->level] |= mask; in htb_add_class_to_row()
345 htb_add_to_id_tree(&q->hlevel[cl->level].hprio[prio].row, cl, prio); in htb_add_class_to_row()
[all …]
Dsch_cbq.c121 unsigned char level; /* level of the class in hierarchy: member
257 if (cl->level >= head->level) in cbq_classify()
270 if (cl->level == 0) in cbq_classify()
356 if (toplevel > cl->level && !(qdisc_is_throttled(cl->q))) { in cbq_mark_toplevel()
361 q->toplevel = cl->level; in cbq_mark_toplevel()
364 } while ((cl = cl->borrow) != NULL && toplevel > cl->level); in cbq_mark_toplevel()
469 if (cl->level > q->toplevel) { in cbq_ovl_rclassic()
675 if (cl && q->toplevel >= borrowed->level) { in cbq_update_toplevel()
679 q->toplevel = borrowed->level; in cbq_update_toplevel()
813 if (cl->level > q->toplevel) in cbq_under_limit()
[all …]
Dsch_hfsc.c118 unsigned int level; /* class level in hierarchy */ member
314 while (cl->level > 0) { in vttree_get_minvt()
908 unsigned int level; in hfsc_adjust_levels() local
911 level = 0; in hfsc_adjust_levels()
913 if (p->level >= level) in hfsc_adjust_levels()
914 level = p->level + 1; in hfsc_adjust_levels()
916 cl->level = level; in hfsc_adjust_levels()
1101 if (parent->level == 0) in hfsc_change_class()
1131 if (cl->level > 0 || cl->filter_cnt > 0 || cl == &q->root) in hfsc_delete_class()
1163 if (cl->level == 0) in hfsc_classify()
[all …]
/net/
Dcompat.c232 int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *data) in put_cmsg_compat() argument
246 if (level == SOL_SOCKET && type == SCM_TIMESTAMP) { in put_cmsg_compat()
253 if (level == SOL_SOCKET && in put_cmsg_compat()
272 cmhdr.cmsg_level = level; in put_cmsg_compat()
342 static int do_set_attach_filter(struct socket *sock, int level, int optname, in do_set_attach_filter() argument
358 return sock_setsockopt(sock, level, optname, (char __user *)kfprog, in do_set_attach_filter()
362 static int do_set_sock_timeout(struct socket *sock, int level, in do_set_sock_timeout() argument
378 err = sock_setsockopt(sock, level, optname, (char *)&ktime, sizeof(ktime)); in do_set_sock_timeout()
384 static int compat_sock_setsockopt(struct socket *sock, int level, int optname, in compat_sock_setsockopt() argument
388 return do_set_attach_filter(sock, level, optname, in compat_sock_setsockopt()
[all …]
/net/ipv6/
Dipv6_sockglue.c126 static int do_ipv6_setsockopt(struct sock *sk, int level, int optname, in do_ipv6_setsockopt() argument
863 int ipv6_setsockopt(struct sock *sk, int level, int optname, in ipv6_setsockopt() argument
868 if (level == SOL_IP && sk->sk_type != SOCK_RAW) in ipv6_setsockopt()
869 return udp_prot.setsockopt(sk, level, optname, optval, optlen); in ipv6_setsockopt()
871 if (level != SOL_IPV6) in ipv6_setsockopt()
874 err = do_ipv6_setsockopt(sk, level, optname, optval, optlen); in ipv6_setsockopt()
890 int compat_ipv6_setsockopt(struct sock *sk, int level, int optname, in compat_ipv6_setsockopt() argument
895 if (level == SOL_IP && sk->sk_type != SOCK_RAW) { in compat_ipv6_setsockopt()
897 return udp_prot.compat_setsockopt(sk, level, optname, in compat_ipv6_setsockopt()
899 return udp_prot.setsockopt(sk, level, optname, optval, optlen); in compat_ipv6_setsockopt()
[all …]
Draw.c921 static int rawv6_seticmpfilter(struct sock *sk, int level, int optname, in rawv6_seticmpfilter() argument
938 static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, in rawv6_geticmpfilter() argument
964 static int do_rawv6_setsockopt(struct sock *sk, int level, int optname, in do_rawv6_setsockopt() argument
976 level == IPPROTO_IPV6) { in do_rawv6_setsockopt()
1006 static int rawv6_setsockopt(struct sock *sk, int level, int optname, in rawv6_setsockopt() argument
1009 switch (level) { in rawv6_setsockopt()
1016 return rawv6_seticmpfilter(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1021 return ipv6_setsockopt(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1024 return do_rawv6_setsockopt(sk, level, optname, optval, optlen); in rawv6_setsockopt()
1028 static int compat_rawv6_setsockopt(struct sock *sk, int level, int optname, in compat_rawv6_setsockopt() argument
[all …]
Dudp_impl.h16 int udpv6_getsockopt(struct sock *sk, int level, int optname,
18 int udpv6_setsockopt(struct sock *sk, int level, int optname,
21 int compat_udpv6_setsockopt(struct sock *sk, int level, int optname,
23 int compat_udpv6_getsockopt(struct sock *sk, int level, int optname,
Dudp.c1384 int udpv6_setsockopt(struct sock *sk, int level, int optname, in udpv6_setsockopt() argument
1387 if (level == SOL_UDP || level == SOL_UDPLITE) in udpv6_setsockopt()
1388 return udp_lib_setsockopt(sk, level, optname, optval, optlen, in udpv6_setsockopt()
1390 return ipv6_setsockopt(sk, level, optname, optval, optlen); in udpv6_setsockopt()
1394 int compat_udpv6_setsockopt(struct sock *sk, int level, int optname, in compat_udpv6_setsockopt() argument
1397 if (level == SOL_UDP || level == SOL_UDPLITE) in compat_udpv6_setsockopt()
1398 return udp_lib_setsockopt(sk, level, optname, optval, optlen, in compat_udpv6_setsockopt()
1400 return compat_ipv6_setsockopt(sk, level, optname, optval, optlen); in compat_udpv6_setsockopt()
1404 int udpv6_getsockopt(struct sock *sk, int level, int optname, in udpv6_getsockopt() argument
1407 if (level == SOL_UDP || level == SOL_UDPLITE) in udpv6_getsockopt()
[all …]
/net/ipv4/
Dudp_impl.h13 int udp_setsockopt(struct sock *sk, int level, int optname,
15 int udp_getsockopt(struct sock *sk, int level, int optname,
19 int compat_udp_setsockopt(struct sock *sk, int level, int optname,
21 int compat_udp_getsockopt(struct sock *sk, int level, int optname,
Draw.c792 static int do_raw_setsockopt(struct sock *sk, int level, int optname, in do_raw_setsockopt() argument
804 static int raw_setsockopt(struct sock *sk, int level, int optname, in raw_setsockopt() argument
807 if (level != SOL_RAW) in raw_setsockopt()
808 return ip_setsockopt(sk, level, optname, optval, optlen); in raw_setsockopt()
809 return do_raw_setsockopt(sk, level, optname, optval, optlen); in raw_setsockopt()
813 static int compat_raw_setsockopt(struct sock *sk, int level, int optname, in compat_raw_setsockopt() argument
816 if (level != SOL_RAW) in compat_raw_setsockopt()
817 return compat_ip_setsockopt(sk, level, optname, optval, optlen); in compat_raw_setsockopt()
818 return do_raw_setsockopt(sk, level, optname, optval, optlen); in compat_raw_setsockopt()
822 static int do_raw_getsockopt(struct sock *sk, int level, int optname, in do_raw_getsockopt() argument
[all …]
Dcipso_ipv4.c732 static int cipso_v4_map_lvl_valid(const struct cipso_v4_doi *doi_def, u8 level) in cipso_v4_map_lvl_valid() argument
738 if (doi_def->map.std->lvl.cipso[level] < CIPSO_V4_INV_LVL) in cipso_v4_map_lvl_valid()
1270 u32 level; in cipso_v4_gentag_rbm() local
1277 &level); in cipso_v4_gentag_rbm()
1301 buffer[3] = level; in cipso_v4_gentag_rbm()
1324 u32 level; in cipso_v4_parsetag_rbm() local
1326 ret_val = cipso_v4_map_lvl_ntoh(doi_def, tag[3], &level); in cipso_v4_parsetag_rbm()
1329 secattr->attr.mls.lvl = level; in cipso_v4_parsetag_rbm()
1367 u32 level; in cipso_v4_gentag_enum() local
1374 &level); in cipso_v4_gentag_enum()
[all …]
Dip_sockglue.c473 static int do_ip_setsockopt(struct sock *sk, int level, in do_ip_setsockopt() argument
1079 int ip_setsockopt(struct sock *sk, int level, in ip_setsockopt() argument
1084 if (level != SOL_IP) in ip_setsockopt()
1087 err = do_ip_setsockopt(sk, level, optname, optval, optlen); in ip_setsockopt()
1104 int compat_ip_setsockopt(struct sock *sk, int level, int optname, in compat_ip_setsockopt() argument
1109 if (level != SOL_IP) in compat_ip_setsockopt()
1113 return compat_mc_setsockopt(sk, level, optname, optval, optlen, in compat_ip_setsockopt()
1116 err = do_ip_setsockopt(sk, level, optname, optval, optlen); in compat_ip_setsockopt()
1139 static int do_ip_getsockopt(struct sock *sk, int level, int optname, in do_ip_getsockopt() argument
1146 if (level != SOL_IP) in do_ip_getsockopt()
[all …]
Dudp.c2030 int udp_lib_setsockopt(struct sock *sk, int level, int optname, in udp_lib_setsockopt() argument
2123 int udp_setsockopt(struct sock *sk, int level, int optname, in udp_setsockopt() argument
2126 if (level == SOL_UDP || level == SOL_UDPLITE) in udp_setsockopt()
2127 return udp_lib_setsockopt(sk, level, optname, optval, optlen, in udp_setsockopt()
2129 return ip_setsockopt(sk, level, optname, optval, optlen); in udp_setsockopt()
2133 int compat_udp_setsockopt(struct sock *sk, int level, int optname, in compat_udp_setsockopt() argument
2136 if (level == SOL_UDP || level == SOL_UDPLITE) in compat_udp_setsockopt()
2137 return udp_lib_setsockopt(sk, level, optname, optval, optlen, in compat_udp_setsockopt()
2139 return compat_ip_setsockopt(sk, level, optname, optval, optlen); in compat_udp_setsockopt()
2143 int udp_lib_getsockopt(struct sock *sk, int level, int optname, in udp_lib_getsockopt() argument
[all …]
/net/dccp/
Dproto.c499 static int do_dccp_setsockopt(struct sock *sk, int level, int optname, in do_dccp_setsockopt() argument
565 int dccp_setsockopt(struct sock *sk, int level, int optname, in dccp_setsockopt() argument
568 if (level != SOL_DCCP) in dccp_setsockopt()
569 return inet_csk(sk)->icsk_af_ops->setsockopt(sk, level, in dccp_setsockopt()
572 return do_dccp_setsockopt(sk, level, optname, optval, optlen); in dccp_setsockopt()
578 int compat_dccp_setsockopt(struct sock *sk, int level, int optname, in compat_dccp_setsockopt() argument
581 if (level != SOL_DCCP) in compat_dccp_setsockopt()
582 return inet_csk_compat_setsockopt(sk, level, optname, in compat_dccp_setsockopt()
584 return do_dccp_setsockopt(sk, level, optname, optval, optlen); in compat_dccp_setsockopt()
618 static int do_dccp_getsockopt(struct sock *sk, int level, int optname, in do_dccp_getsockopt() argument
[all …]
/net/9p/
Dmod.c47 void _p9_debug(enum p9_debug_flags level, const char *func, in _p9_debug() argument
53 if ((p9_debug_level & level) != level) in _p9_debug()
61 if (level == P9_DEBUG_9P) in _p9_debug()
/net/mac802154/
Dllsec.c55 msl = container_of(sl, struct mac802154_llsec_seclevel, level); in mac802154_llsec_destroy()
495 level); in llsec_find_seclevel()
513 entry->level = *sl; in mac802154_llsec_seclevel_add()
515 list_add_tail_rcu(&entry->level.list, &sec->table.security_levels); in mac802154_llsec_seclevel_add()
529 list_del_rcu(&pos->level.list); in mac802154_llsec_seclevel_del()
622 iv[13] = sec->level; in llsec_geniv()
682 if (hdr->sec.level & IEEE802154_SCF_SECLEVEL_ENC) { in llsec_do_encrypt_auth()
712 if (hdr->sec.level == IEEE802154_SCF_SECLEVEL_ENC) in llsec_do_encrypt()
730 if (!hdr.fc.security_enabled || hdr.sec.level == 0) { in mac802154_llsec_encrypt()
830 struct ieee802154_llsec_seclevel *level; in llsec_lookup_seclevel() local
[all …]
/net/atm/
Dpvc.c64 static int pvc_setsockopt(struct socket *sock, int level, int optname, in pvc_setsockopt() argument
71 error = vcc_setsockopt(sock, level, optname, optval, optlen); in pvc_setsockopt()
76 static int pvc_getsockopt(struct socket *sock, int level, int optname, in pvc_getsockopt() argument
83 error = vcc_getsockopt(sock, level, optname, optval, optlen); in pvc_getsockopt()
Dcommon.h23 int vcc_setsockopt(struct socket *sock, int level, int optname,
25 int vcc_getsockopt(struct socket *sock, int level, int optname,
Dsvc.c452 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt() argument
462 if (level != SOL_ATM || optlen != sizeof(struct atm_sap)) { in svc_setsockopt()
473 if (level != SOL_ATM || optlen != sizeof(int)) { in svc_setsockopt()
489 error = vcc_setsockopt(sock, level, optname, optval, optlen); in svc_setsockopt()
497 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt() argument
504 if (!__SO_LEVEL_MATCH(optname, level) || optname != SO_ATMSAP) { in svc_getsockopt()
505 error = vcc_getsockopt(sock, level, optname, optval, optlen); in svc_getsockopt()
/net/wireless/
Dwext-spy.c218 if (wstats->level > spydata->spy_thr_high.level) { in wireless_spy_update()
224 if (wstats->level < spydata->spy_thr_low.level) { in wireless_spy_update()
/net/bluetooth/rfcomm/
Dsock.c689 static int rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval,… in rfcomm_sock_setsockopt() argument
699 if (level == SOL_RFCOMM) in rfcomm_sock_setsockopt()
702 if (level != SOL_BLUETOOTH) in rfcomm_sock_setsockopt()
714 sec.level = BT_SECURITY_LOW; in rfcomm_sock_setsockopt()
722 if (sec.level > BT_SECURITY_HIGH) { in rfcomm_sock_setsockopt()
727 rfcomm_pi(sk)->sec_level = sec.level; in rfcomm_sock_setsockopt()
832 static int rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval,… in rfcomm_sock_getsockopt() argument
840 if (level == SOL_RFCOMM) in rfcomm_sock_getsockopt()
843 if (level != SOL_BLUETOOTH) in rfcomm_sock_getsockopt()
858 sec.level = rfcomm_pi(sk)->sec_level; in rfcomm_sock_getsockopt()
/net/bluetooth/
Dl2cap_sock.c489 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt() argument
500 if (level == SOL_L2CAP) in l2cap_sock_getsockopt()
503 if (level != SOL_BLUETOOTH) in l2cap_sock_getsockopt()
522 sec.level = chan->conn->hcon->sec_level; in l2cap_sock_getsockopt()
527 sec.level = chan->sec_level; in l2cap_sock_getsockopt()
737 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, in l2cap_sock_setsockopt() argument
750 if (level == SOL_L2CAP) in l2cap_sock_setsockopt()
753 if (level != SOL_BLUETOOTH) in l2cap_sock_setsockopt()
767 sec.level = BT_SECURITY_LOW; in l2cap_sock_setsockopt()
775 if (sec.level < BT_SECURITY_LOW || in l2cap_sock_setsockopt()
[all …]
/net/wimax/
DKconfig25 int "WiMAX debug level"
30 Select the maximum debug verbosity level to be compiled into

1234