| /net/bridge/ |
| A D | br_mrp_switchdev.c | 66 enum br_mrp_ring_role_type role) in br_mrp_switchdev_set_ring_role() argument 71 .ring_role = role, in br_mrp_switchdev_set_ring_role() 82 role != BR_MRP_RING_ROLE_DISABLED); in br_mrp_switchdev_set_ring_role() 90 if (role != BR_MRP_RING_ROLE_DISABLED) in br_mrp_switchdev_set_ring_role() 142 enum br_mrp_in_role_type role) in br_mrp_switchdev_set_in_role() argument 147 .in_role = role, in br_mrp_switchdev_set_in_role() 160 role != BR_MRP_IN_ROLE_DISABLED); in br_mrp_switchdev_set_in_role() 168 if (role != BR_MRP_IN_ROLE_DISABLED) in br_mrp_switchdev_set_in_role() 229 enum br_mrp_port_role_type role) in br_mrp_port_switchdev_set_role() argument 234 .u.mrp_port_role = role, in br_mrp_port_switchdev_set_role()
|
| A D | br_mrp_netlink.c | 109 enum br_mrp_port_role_type role; in br_mrp_port_role_parse() local 122 role = nla_get_u32(tb[IFLA_BRIDGE_MRP_PORT_ROLE_ROLE]); in br_mrp_port_role_parse() 124 return br_mrp_set_port_role(p, role); in br_mrp_port_role_parse() 172 struct br_mrp_ring_role role; in br_mrp_ring_role_parse() local 187 memset(&role, 0x0, sizeof(role)); in br_mrp_ring_role_parse() 192 return br_mrp_set_ring_role(br, &role); in br_mrp_ring_role_parse() 288 struct br_mrp_in_role role; in br_mrp_in_role_parse() local 305 memset(&role, 0x0, sizeof(role)); in br_mrp_in_role_parse() 308 role.in_id = nla_get_u16(tb[IFLA_BRIDGE_MRP_IN_ROLE_IN_ID]); in br_mrp_in_role_parse() 310 role.in_role = nla_get_u32(tb[IFLA_BRIDGE_MRP_IN_ROLE_ROLE]); in br_mrp_in_role_parse() [all …]
|
| A D | br_private_mrp.h | 71 enum br_mrp_port_role_type role); 74 int br_mrp_set_ring_role(struct net_bridge *br, struct br_mrp_ring_role *role); 77 int br_mrp_set_in_role(struct net_bridge *br, struct br_mrp_in_role *role); 86 enum br_mrp_ring_role_type role); 95 enum br_mrp_port_role_type role); 99 enum br_mrp_in_role_type role);
|
| A D | br_mrp.c | 618 enum br_mrp_port_role_type role) in br_mrp_set_port_role() argument 630 switch (role) { in br_mrp_set_port_role() 641 br_mrp_port_switchdev_set_role(p, role); in br_mrp_set_port_role() 672 struct br_mrp_ring_role *role) in br_mrp_set_ring_role() argument 680 mrp->ring_role = role->ring_role; in br_mrp_set_ring_role() 767 if (!br_mrp_get_port(br, role->i_ifindex)) in br_mrp_set_in_role() 792 mrp->in_role = role->in_role; in br_mrp_set_in_role() 809 p = br_mrp_get_port(br, role->i_ifindex); in br_mrp_set_in_role() 816 mrp->in_role = role->in_role; in br_mrp_set_in_role() 817 mrp->in_id = role->in_id; in br_mrp_set_in_role() [all …]
|
| /net/bluetooth/bnep/ |
| A D | bnep.h | 112 __u16 role; member 123 __u16 role; member 148 unsigned int role; member
|
| A D | core.c | 602 s->role = req->role; in bnep_add_connection() 684 ci->role = s->role; in __bnep_copy_ci()
|
| /net/bluetooth/ |
| A D | hci_conn.c | 657 if (conn->role == HCI_ROLE_SLAVE) { in le_conn_timeout() 826 if (conn->role == HCI_ROLE_MASTER) { in bis_cleanup() 906 u8 role, u16 handle) in __hci_conn_add() argument 949 conn->role = role; in __hci_conn_add() 968 if (conn->role == HCI_ROLE_MASTER) in __hci_conn_add() 1042 bdaddr_t *dst, u8 role) in hci_conn_add_unset() argument 1056 u8 role, u16 handle) in hci_conn_add() argument 2509 if (role == conn->role) in hci_conn_switch_role() 2515 cp.role = role; in hci_conn_switch_role() 2573 if (conn->role == HCI_ROLE_MASTER) in get_link_mode() [all …]
|
| A D | hci_event.c | 176 conn->role = rp->role; in hci_cc_role_discovery() 3302 cp.role = 0x00; /* Become central */ in hci_conn_request_evt() 3304 cp.role = 0x01; /* Remain peripheral */ in hci_conn_request_evt() 4366 conn->role = ev->role; in hci_role_change_evt() 4370 hci_role_switch_cfm(conn, ev->status, ev->role); in hci_role_change_evt() 5605 bdaddr_t *local_rpa, u8 role, u16 handle, in le_conn_complete_evt() argument 5629 conn = hci_conn_add_unset(hdev, LE_LINK, bdaddr, role); in le_conn_complete_evt() 5782 NULL, ev->role, le16_to_cpu(ev->handle), in hci_le_conn_complete_evt() 5796 &ev->local_rpa, ev->role, le16_to_cpu(ev->handle), in hci_le_enh_conn_complete_evt() 6602 if (hcon->role == HCI_ROLE_MASTER) { in hci_le_remote_conn_param_req_evt() [all …]
|
| A D | smp.c | 2201 hcon->role)) { in smp_cmd_pairing_random() 2250 key = hci_find_ltk(hcon->hdev, &hcon->dst, hcon->dst_type, hcon->role); in smp_ltk_encrypt() 2283 hci_find_ltk(hcon->hdev, &hcon->dst, hcon->dst_type, hcon->role)) in smp_sufficient_security() 2323 if (hcon->role != HCI_ROLE_MASTER) in smp_cmd_security_req() 2401 if (hcon->role == HCI_ROLE_MASTER) in smp_conn_security() 2445 if (hcon->role == HCI_ROLE_MASTER) in smp_conn_security() 3117 if (hcon->role != HCI_ROLE_MASTER) in bredr_pairing()
|
| A D | hci_core.c | 1182 u8 addr_type, u8 role) in hci_find_ltk() argument 1191 if (smp_ltk_is_sc(k) || ltk_role(k->type) == role) { in hci_find_ltk() 1327 u8 role = ltk_role(type); in hci_add_ltk() local 1329 old_key = hci_find_ltk(hdev, bdaddr, addr_type, role); in hci_add_ltk()
|
| A D | sco.c | 839 cp.role = 0x00; /* Ignored */ in sco_conn_defer_accept()
|
| A D | mgmt.c | 7904 if (conn && conn->role == HCI_ROLE_MASTER && in load_conn_param() 8181 u8 status, flags, role, addr[7], hash[16], rand[16]; in read_local_oob_ext_data() local 8283 role = 0x02; in read_local_oob_ext_data() 8285 role = 0x01; in read_local_oob_ext_data() 8288 &role, sizeof(role)); in read_local_oob_ext_data()
|
| A D | hci_sync.c | 5535 if (conn->role == HCI_ROLE_SLAVE || in hci_le_connect_cancel_sync() 6524 if (conn->role == HCI_ROLE_SLAVE) { in hci_le_create_conn_sync() 6863 conn->role = HCI_ROLE_MASTER; in hci_acl_create_conn_sync()
|
| A D | l2cap_core.c | 1596 if (hcon->role == HCI_ROLE_SLAVE && in l2cap_le_conn_ready() 4664 if (hcon->role != HCI_ROLE_MASTER) in l2cap_conn_param_update_req()
|
| /net/smc/ |
| A D | smc_core.c | 89 (!lgr->is_smcd && lgr->role == SMC_CLNT) ? in smc_lgr_schedule_free_work() 136 if (conn->lgr->role == SMC_CLNT) { in smcr_lgr_conn_assign_link() 380 if (nla_put_u8(skb, SMC_NLA_LGR_R_ROLE, lgr->role)) in smc_nl_fill_lgr() 1789 if (lgr->role == SMC_SERV) { in smcr_link_down() 1922 enum smc_lgr_role role, u32 clcqpn, in smcr_lgr_match() argument 1929 lgr->role != role) in smcr_lgr_match() 1971 enum smc_lgr_role role; in smc_conn_create() local 1980 role = smc->listen_smc ? SMC_SERV : SMC_CLNT; in smc_conn_create() 1981 if (role == SMC_CLNT && ini->first_contact_peer) in smc_conn_create() 1994 ini->peer_gid, ini->peer_mac, role, in smc_conn_create() [all …]
|
| A D | smc_diag.c | 152 .role = smc->conn.lgr->role, in __smc_diag_dump()
|
| A D | smc_llc.c | 249 flow_type, lgr->role); in smc_llc_flow_parallel() 366 flow->type, lgr->role, in smc_llc_wait() 879 if (lgr->role == SMC_CLNT) in smc_llc_add_link_cont() 1570 if (lgr->role == SMC_CLNT) in smc_llc_add_link_work() 1751 if (lgr->role == SMC_CLNT) in smc_llc_delete_link_work() 1892 if (lgr->role == SMC_CLNT) { in smc_llc_event_handler() 1972 if (lgr->role == SMC_CLNT && in smc_llc_event_handler() 1976 } else if (lgr->role == SMC_SERV) { in smc_llc_event_handler()
|
| A D | smc_core.h | 308 enum smc_lgr_role role; member
|
| A D | smc_ib.c | 145 if (lgr->role == SMC_SERV) { in smc_ib_ready_link()
|
| /net/batman-adv/ |
| A D | tp_meter.c | 814 if (unlikely(tp_vars->role != BATADV_TP_SENDER)) { in batadv_tp_send() 984 tp_vars->role = BATADV_TP_SENDER; in batadv_tp_start() 1351 tp_vars->role = BATADV_TP_RECEIVER; in batadv_tp_init_recv() 1413 if (unlikely(tp_vars->role != BATADV_TP_RECEIVER)) { in batadv_tp_recv_msg() 1416 tp_vars->role); in batadv_tp_recv_msg()
|
| A D | types.h | 1441 enum batadv_tp_meter_role role; member
|