Lines Matching refs:conn_req
46 struct caif_connect_request conn_req; member
97 if (priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP) in chnl_recv_cb()
219 if (priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP) in chnl_net_start_xmit()
256 result = caif_connect_client(dev_net(dev), &priv->conn_req, in chnl_net_open()
391 priv->conn_req.protocol = CAIFPROTO_DATAGRAM; in ipcaif_net_setup()
392 priv->conn_req.link_selector = CAIF_LINK_HIGH_BANDW; in ipcaif_net_setup()
393 priv->conn_req.priority = CAIF_PRIO_LOW; in ipcaif_net_setup()
395 priv->conn_req.sockaddr.u.dgm.connection_id = UNDEF_CONNID; in ipcaif_net_setup()
408 priv->conn_req.sockaddr.u.dgm.connection_id) || in ipcaif_fill_info()
410 priv->conn_req.sockaddr.u.dgm.connection_id)) in ipcaif_fill_info()
412 loop = priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP; in ipcaif_fill_info()
422 struct caif_connect_request *conn_req) in caif_netlink_parms() argument
429 conn_req->sockaddr.u.dgm.connection_id = in caif_netlink_parms()
432 conn_req->sockaddr.u.dgm.connection_id = in caif_netlink_parms()
436 conn_req->protocol = CAIFPROTO_DATAGRAM_LOOP; in caif_netlink_parms()
438 conn_req->protocol = CAIFPROTO_DATAGRAM; in caif_netlink_parms()
450 caif_netlink_parms(data, &caifdev->conn_req); in ipcaif_newlink()
459 if (caifdev->conn_req.sockaddr.u.dgm.connection_id == UNDEF_CONNID) { in ipcaif_newlink()
460 caifdev->conn_req.sockaddr.u.dgm.connection_id = dev->ifindex; in ipcaif_newlink()
461 caifdev->conn_req.protocol = CAIFPROTO_DATAGRAM_LOOP; in ipcaif_newlink()
473 caif_netlink_parms(data, &caifdev->conn_req); in ipcaif_changelink()