/net/ipv4/ |
D | gre.c | 31 int gre_add_protocol(const struct gre_protocol *proto, u8 version) in gre_add_protocol() argument 33 if (version >= GREPROTO_MAX) in gre_add_protocol() 37 if (gre_proto[version]) in gre_add_protocol() 40 RCU_INIT_POINTER(gre_proto[version], proto); in gre_add_protocol() 51 int gre_del_protocol(const struct gre_protocol *proto, u8 version) in gre_del_protocol() argument 53 if (version >= GREPROTO_MAX) in gre_del_protocol() 57 if (rcu_dereference_protected(gre_proto[version], in gre_del_protocol() 60 RCU_INIT_POINTER(gre_proto[version], NULL); in gre_del_protocol()
|
/net/rds/ |
D | iw_cm.c | 45 static void rds_iw_set_protocol(struct rds_connection *conn, unsigned int version) in rds_iw_set_protocol() argument 47 conn->c_version = version; in rds_iw_set_protocol() 351 u32 version = 0; in rds_iw_protocol_compatible() local 365 version = RDS_PROTOCOL_3_0; in rds_iw_protocol_compatible() 367 version++; in rds_iw_protocol_compatible() 374 return version; in rds_iw_protocol_compatible() 386 u32 version; in rds_iw_cm_handle_connect() local 390 version = rds_iw_protocol_compatible(dp); in rds_iw_cm_handle_connect() 391 if (!version) in rds_iw_cm_handle_connect() 396 RDS_PROTOCOL_MAJOR(version), RDS_PROTOCOL_MINOR(version)); in rds_iw_cm_handle_connect() [all …]
|
D | ib_cm.c | 75 static void rds_ib_set_protocol(struct rds_connection *conn, unsigned int version) in rds_ib_set_protocol() argument 77 conn->c_version = version; in rds_ib_set_protocol() 408 u32 version = 0; in rds_ib_protocol_compatible() local 434 version = RDS_PROTOCOL_3_0; in rds_ib_protocol_compatible() 436 version++; in rds_ib_protocol_compatible() 442 return version; in rds_ib_protocol_compatible() 455 u32 version; in rds_ib_cm_handle_connect() local 459 version = rds_ib_protocol_compatible(event); in rds_ib_cm_handle_connect() 460 if (!version) in rds_ib_cm_handle_connect() 465 RDS_PROTOCOL_MAJOR(version), RDS_PROTOCOL_MINOR(version), in rds_ib_cm_handle_connect() [all …]
|
/net/l2tp/ |
D | l2tp_core.c | 115 static void l2tp_session_set_header_len(struct l2tp_session *session, int version); 417 if (tunnel->version == L2TP_HDR_VER_2) in l2tp_recv_dequeue_skb() 643 if (tunnel->version == L2TP_HDR_VER_2) { in l2tp_recv_common() 687 l2tp_session_set_header_len(session, tunnel->version); in l2tp_recv_common() 711 l2tp_session_set_header_len(session, tunnel->version); in l2tp_recv_common() 726 if (tunnel->version == L2TP_HDR_VER_2) { in l2tp_recv_common() 836 u16 version; in l2tp_udp_recv_core() local 870 version = hdrflags & L2TP_HDR_VER_MASK; in l2tp_udp_recv_core() 871 if (version != tunnel->version) { in l2tp_udp_recv_core() 874 tunnel->name, version, tunnel->version); in l2tp_udp_recv_core() [all …]
|
D | l2tp_core.h | 172 int version; /* 2=>L2TPv2, 3=>L2TPv3 */ member 241 extern int l2tp_tunnel_create(struct net *net, int fd, int version, u32 tunnel_id, u32 peer_tunnel_…
|
/net/sunrpc/ |
D | svc.c | 808 const u32 version, in __svc_rpcb_register4() argument 831 error = rpcb_v4_register(net, program, version, in __svc_rpcb_register4() 839 error = rpcb_register(net, program, version, protocol, port); in __svc_rpcb_register4() 856 const u32 version, in __svc_rpcb_register6() argument 879 error = rpcb_v4_register(net, program, version, in __svc_rpcb_register6() 900 const u32 program, const u32 version, in __svc_register() argument 909 error = __svc_rpcb_register4(net, program, version, in __svc_register() 914 error = __svc_rpcb_register6(net, program, version, in __svc_register() 921 "service (errno %d).\n", progname, version, -error); in __svc_register() 981 static void __svc_unregister(struct net *net, const u32 program, const u32 version, in __svc_unregister() argument [all …]
|
D | rpcb_clnt.c | 239 .version = RPCBVERS_2, in rpcb_create_local_unix() 290 .version = RPCBVERS_2, in rpcb_create_local_net() 350 int proto, u32 version) in rpcb_create() argument 359 .version = version, in rpcb_create() 569 int rpcb_v4_register(struct net *net, const u32 program, const u32 version, in rpcb_v4_register() argument 574 .r_vers = version, in rpcb_v4_register() 1123 .version = rpcb_version,
|
D | clnt.c | 295 const struct rpc_version *version; in rpc_new_client() local 309 if (args->version >= program->nrvers) in rpc_new_client() 311 version = program->version[args->version]; in rpc_new_client() 312 if (version == NULL) in rpc_new_client() 322 clnt->cl_procinfo = version->procs; in rpc_new_client() 323 clnt->cl_maxproc = version->nrprocs; in rpc_new_client() 326 clnt->cl_vers = version->number; in rpc_new_client() 546 .version = clnt->cl_vers, in rpc_clone_client() 568 .version = clnt->cl_vers, in rpc_clone_client_set_auth() 705 .version = vers, in rpc_bind_new_program()
|
/net/wireless/ |
D | ethtool.c | 15 strlcpy(info->version, init_utsname()->release, sizeof(info->version)); in cfg80211_get_drvinfo() 38 regs->version = wdev->wiphy->hw_version; in cfg80211_get_regs()
|
/net/9p/ |
D | client.c | 96 int version = -EINVAL; in get_protocol_version() local 99 version = p9_proto_legacy; in get_protocol_version() 102 version = p9_proto_2000u; in get_protocol_version() 105 version = p9_proto_2000L; in get_protocol_version() 110 return version; in get_protocol_version() 919 char *version; in p9_client_version() local 946 err = p9pdu_readf(req->rc, c->proto_version, "ds", &msize, &version); in p9_client_version() 953 p9_debug(P9_DEBUG_9P, "<<< RVERSION msize %d %s\n", msize, version); in p9_client_version() 954 if (!strncmp(version, "9P2000.L", 8)) in p9_client_version() 956 else if (!strncmp(version, "9P2000.u", 8)) in p9_client_version() [all …]
|
/net/rxrpc/ |
D | rxkad.c | 584 challenge.version = htonl(2); in rxkad_issue_challenge() 747 u32 version, nonce, min_level, abort_code; in rxkad_respond_to_challenge() local 768 version = ntohl(challenge.version); in rxkad_respond_to_challenge() 773 ntohl(sp->hdr.serial), version, nonce, min_level); in rxkad_respond_to_challenge() 776 if (version != RXKAD_VERSION) in rxkad_respond_to_challenge() 788 resp.version = RXKAD_VERSION; in rxkad_respond_to_challenge() 1008 u32 abort_code, version, kvno, ticket_len, level; in rxkad_verify_response() local 1020 version = ntohl(response.version); in rxkad_verify_response() 1025 ntohl(sp->hdr.serial), version, kvno, ticket_len); in rxkad_verify_response() 1028 if (version != RXKAD_VERSION) in rxkad_verify_response()
|
/net/bluetooth/hidp/ |
D | hidp.h | 98 __u16 version; member 115 __u16 version; member
|
D | sock.c | 136 __u16 version; member 182 put_user(ca.version, &uca->version) || in hidp_sock_compat_ioctl()
|
D | core.c | 81 ci->version = 0x0000; in hidp_copy_session() 86 ci->version = session->input->id.version; in hidp_copy_session() 96 ci->version = session->hid->version; in hidp_copy_session() 633 input->id.version = req->version; in hidp_setup_input() 753 hid->version = req->version; in hidp_setup_hid()
|
/net/ceph/ |
D | osdmap.c | 663 u16 version; in osdmap_decode() local 676 ceph_decode_16_safe(p, end, version, bad); in osdmap_decode() 677 if (version > 6) { in osdmap_decode() 678 pr_warning("got unknown v %d > 6 of osdmap\n", version); in osdmap_decode() 681 if (version < 6) { in osdmap_decode() 682 pr_warning("got old v %d < 6 of osdmap\n", version); in osdmap_decode() 817 u16 version; in osdmap_apply_incremental() local 819 ceph_decode_16_safe(p, end, version, bad); in osdmap_apply_incremental() 820 if (version != 6) { in osdmap_apply_incremental() 821 pr_warning("got unknown v %d != 6 of inc osdmap\n", version); in osdmap_apply_incremental() [all …]
|
/net/vmw_vsock/ |
D | vmci_transport.c | 153 pkt->version = VMCI_TRANSPORT_PACKET_VERSION; in vmci_transport_packet_init() 343 u16 version) in vmci_transport_send_negotiate2() argument 348 size, 0, NULL, version, in vmci_transport_send_negotiate2() 460 u16 version) in vmci_transport_send_conn_request2() argument 464 size, 0, NULL, version, in vmci_transport_send_conn_request2() 1063 u16 version = VSOCK_PROTO_INVALID; in vmci_transport_recv_listen() local 1065 pending, &version, true)) in vmci_transport_recv_listen() 1398 u16 version; in vmci_transport_recv_connecting_client_negotiate() local 1438 version = VSOCK_PROTO_INVALID; in vmci_transport_recv_connecting_client_negotiate() 1440 version = pkt->proto; in vmci_transport_recv_connecting_client_negotiate() [all …]
|
D | vmci_transport.h | 70 u8 version; member
|
/net/bluetooth/cmtp/ |
D | capi.c | 276 ctrl->version.majorversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 16); in cmtp_recv_interopmsg() 277 ctrl->version.minorversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 20); in cmtp_recv_interopmsg() 278 ctrl->version.majormanuversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 24); in cmtp_recv_interopmsg() 279 ctrl->version.minormanuversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 28); in cmtp_recv_interopmsg()
|
/net/ipv6/netfilter/ |
D | ip6t_eui64.c | 37 if (ipv6_hdr(skb)->version == 0x6) { in eui64_mt6()
|
/net/8021q/ |
D | vlan_mvrp.c | 33 .version = 0,
|
/net/tipc/ |
D | netlink.c | 74 .version = TIPC_GENL_VERSION,
|
/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 105 .version = GSSPROXY_VERS_1, in gssp_rpc_create() 356 .version = gssp_version,
|
/net/batman-adv/ |
D | icmp_socket.c | 210 if (icmp_packet->header.version != BATADV_COMPAT_VERSION) { in batadv_socket_write() 212 icmp_packet->header.version = BATADV_COMPAT_VERSION; in batadv_socket_write()
|
D | soft-interface.c | 242 bcast_packet->header.version = BATADV_COMPAT_VERSION; in batadv_interface_tx() 715 strlcpy(info->version, BATADV_SOURCE_VERSION, sizeof(info->version)); in batadv_get_drvinfo()
|
/net/packet/ |
D | internal.h | 45 unsigned short version; member
|