/net/netfilter/ |
D | xt_l2tp.c | 44 u8 version; member 57 if ((info->flags & XT_L2TP_VERSION) && (info->version != data->version)) in l2tp_match() 62 ((data->type == XT_L2TP_TYPE_CONTROL) || (data->version == 2)) && in l2tp_match() 107 data.version = (u8) flags & L2TP_HDR_VER; in l2tp_udp_mt() 115 if (data.version == 3) { in l2tp_udp_mt() 123 } else if (data.version == 2) { in l2tp_udp_mt() 168 data.version = 3; in l2tp_ip_mt() 236 if ((info->version < 2) || (info->version > 3)) { in l2tp_mt_check() 237 pr_info("wrong L2TP version: %u\n", info->version); in l2tp_mt_check() 241 if (info->version == 2) { in l2tp_mt_check() [all …]
|
D | nf_tables_netdev.c | 34 if (iph->ihl < 5 || iph->version != 4) in nft_netdev_set_pktinfo_ipv4() 66 if (ip6h->version != 6) in __nft_netdev_set_pktinfo_ipv6()
|
/net/batman-adv/ |
D | packet.h | 217 u8 version; member 250 u8 version; member 273 u8 version; member 300 u8 version; member 335 u8 version; member 374 u8 version; /* batman version field */ member 402 u8 version; /* batman version field */ member 432 u8 version; /* batman version field */ member 463 u8 version; /* batman version field */ member 480 u8 version; member
|
D | main.c | 444 if (batadv_ogm_packet->version != BATADV_COMPAT_VERSION) { in batadv_batman_skb_recv() 447 batadv_ogm_packet->version); in batadv_batman_skb_recv() 666 *batadv_tvlv_handler_get(struct batadv_priv *bat_priv, u8 type, u8 version) in batadv_tvlv_handler_get() argument 676 if (tvlv_handler_tmp->version != version) in batadv_tvlv_handler_get() 714 *batadv_tvlv_container_get(struct batadv_priv *bat_priv, u8 type, u8 version) in batadv_tvlv_container_get() argument 722 if (tvlv_tmp->tvlv_hdr.version != version) in batadv_tvlv_container_get() 790 u8 type, u8 version) in batadv_tvlv_container_unregister() argument 795 tvlv = batadv_tvlv_container_get(bat_priv, type, version); in batadv_tvlv_container_unregister() 813 u8 type, u8 version, in batadv_tvlv_container_register() argument 825 tvlv_new->tvlv_hdr.version = version; in batadv_tvlv_container_register() [all …]
|
D | main.h | 350 u8 type, u8 version, 359 u8 type, u8 version); 371 u8 type, u8 version, u8 flags); 373 u8 type, u8 version); 380 u8 *dst, u8 type, u8 version,
|
/net/ipv4/ |
D | gre_demux.c | 35 int gre_add_protocol(const struct gre_protocol *proto, u8 version) in gre_add_protocol() argument 37 if (version >= GREPROTO_MAX) in gre_add_protocol() 40 return (cmpxchg((const struct gre_protocol **)&gre_proto[version], NULL, proto) == NULL) ? in gre_add_protocol() 45 int gre_del_protocol(const struct gre_protocol *proto, u8 version) in gre_del_protocol() argument 49 if (version >= GREPROTO_MAX) in gre_del_protocol() 52 ret = (cmpxchg((const struct gre_protocol **)&gre_proto[version], proto, NULL) == proto) ? 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() 354 u32 version = 0; in rds_iw_protocol_compatible() local 368 version = RDS_PROTOCOL_3_0; in rds_iw_protocol_compatible() 370 version++; in rds_iw_protocol_compatible() 377 return version; in rds_iw_protocol_compatible() 389 u32 version; in rds_iw_cm_handle_connect() local 393 version = rds_iw_protocol_compatible(dp); in rds_iw_cm_handle_connect() 394 if (!version) in rds_iw_cm_handle_connect() 399 RDS_PROTOCOL_MAJOR(version), RDS_PROTOCOL_MINOR(version)); in rds_iw_cm_handle_connect() [all …]
|
D | ib_cm.c | 45 static void rds_ib_set_protocol(struct rds_connection *conn, unsigned int version) in rds_ib_set_protocol() argument 47 conn->c_version = version; in rds_ib_set_protocol() 517 u32 version = 0; in rds_ib_protocol_compatible() local 543 version = RDS_PROTOCOL_3_0; in rds_ib_protocol_compatible() 545 version++; in rds_ib_protocol_compatible() 551 return version; in rds_ib_protocol_compatible() 564 u32 version; in rds_ib_cm_handle_connect() local 568 version = rds_ib_protocol_compatible(event); in rds_ib_cm_handle_connect() 569 if (!version) in rds_ib_cm_handle_connect() 574 RDS_PROTOCOL_MAJOR(version), RDS_PROTOCOL_MINOR(version), in rds_ib_cm_handle_connect() [all …]
|
/net/l2tp/ |
D | l2tp_core.c | 347 if (tunnel->version == L2TP_HDR_VER_3) { in l2tp_session_register() 735 if (tunnel->version == L2TP_HDR_VER_2) { in l2tp_recv_common() 777 l2tp_session_set_header_len(session, tunnel->version); in l2tp_recv_common() 801 l2tp_session_set_header_len(session, tunnel->version); in l2tp_recv_common() 816 if (tunnel->version == L2TP_HDR_VER_2) { in l2tp_recv_common() 904 u16 version; in l2tp_udp_recv_core() local 937 version = hdrflags & L2TP_HDR_VER_MASK; in l2tp_udp_recv_core() 938 if (version != tunnel->version) { in l2tp_udp_recv_core() 941 tunnel->name, version, tunnel->version); in l2tp_udp_recv_core() 959 if (tunnel->version == L2TP_HDR_VER_2) { in l2tp_udp_recv_core() [all …]
|
D | l2tp_core.h | 177 int version; /* 2=>L2TPv2, 3=>L2TPv3 */ member 256 int l2tp_tunnel_create(struct net *net, int fd, int version, u32 tunnel_id, 276 void l2tp_session_set_header_len(struct l2tp_session *session, int version);
|
/net/9p/ |
D | client.c | 97 int version = -EINVAL; in get_protocol_version() local 100 version = p9_proto_legacy; in get_protocol_version() 103 version = p9_proto_2000u; in get_protocol_version() 106 version = p9_proto_2000L; in get_protocol_version() 111 return version; in get_protocol_version() 940 char *version = NULL; in p9_client_version() local 966 err = p9pdu_readf(req->rc, c->proto_version, "ds", &msize, &version); in p9_client_version() 973 p9_debug(P9_DEBUG_9P, "<<< RVERSION msize %d %s\n", msize, version); in p9_client_version() 974 if (!strncmp(version, "9P2000.L", 8)) in p9_client_version() 976 else if (!strncmp(version, "9P2000.u", 8)) in p9_client_version() [all …]
|
/net/wireless/ |
D | ethtool.c | 17 strlcpy(info->version, init_utsname()->release, sizeof(info->version)); in cfg80211_get_drvinfo()
|
/net/sunrpc/ |
D | svc.c | 807 const u32 version, in __svc_rpcb_register4() argument 830 error = rpcb_v4_register(net, program, version, in __svc_rpcb_register4() 838 error = rpcb_register(net, program, version, protocol, port); in __svc_rpcb_register4() 855 const u32 version, in __svc_rpcb_register6() argument 878 error = rpcb_v4_register(net, program, version, in __svc_rpcb_register6() 899 const u32 program, const u32 version, in __svc_register() argument 908 error = __svc_rpcb_register4(net, program, version, in __svc_register() 913 error = __svc_rpcb_register6(net, program, version, in __svc_register() 989 static void __svc_unregister(struct net *net, const u32 program, const u32 version, in __svc_unregister() argument 994 error = rpcb_v4_register(net, program, version, NULL, ""); in __svc_unregister() [all …]
|
D | rpcb_clnt.c | 241 .version = RPCBVERS_2, in rpcb_create_local_unix() 300 .version = RPCBVERS_2, in rpcb_create_local_net() 361 int proto, u32 version) in rpcb_create() argument 371 .version = version, in rpcb_create() 593 int rpcb_v4_register(struct net *net, const u32 program, const u32 version, in rpcb_v4_register() argument 598 .r_vers = version, in rpcb_v4_register() 1157 .version = rpcb_version,
|
D | clnt.c | 366 const struct rpc_version *version; in rpc_new_client() local 381 if (args->version >= program->nrvers) in rpc_new_client() 383 version = program->version[args->version]; in rpc_new_client() 384 if (version == NULL) in rpc_new_client() 397 clnt->cl_procinfo = version->procs; in rpc_new_client() 398 clnt->cl_maxproc = version->nrprocs; in rpc_new_client() 400 clnt->cl_vers = version->number; in rpc_new_client() 624 .version = clnt->cl_vers, in rpc_clone_client() 645 .version = clnt->cl_vers, in rpc_clone_client_set_auth() 862 .version = vers, in rpc_bind_new_program()
|
/net/rxrpc/ |
D | rxkad.c | 593 challenge.version = htonl(2); in rxkad_issue_challenge() 756 u32 version, nonce, min_level, abort_code; in rxkad_respond_to_challenge() local 777 version = ntohl(challenge.version); in rxkad_respond_to_challenge() 782 ntohl(sp->hdr.serial), version, nonce, min_level); in rxkad_respond_to_challenge() 785 if (version != RXKAD_VERSION) in rxkad_respond_to_challenge() 797 resp.version = RXKAD_VERSION; in rxkad_respond_to_challenge() 1017 u32 abort_code, version, kvno, ticket_len, level; in rxkad_verify_response() local 1029 version = ntohl(response.version); in rxkad_verify_response() 1034 ntohl(sp->hdr.serial), version, kvno, ticket_len); in rxkad_verify_response() 1037 if (version != RXKAD_VERSION) in rxkad_verify_response()
|
/net/bluetooth/hidp/ |
D | hidp.h | 99 __u16 version; member 116 __u16 version; member
|
D | sock.c | 137 __u16 version; member 183 put_user(ca.version, &uca->version) || in hidp_sock_compat_ioctl()
|
D | core.c | 84 ci->version = session->input->id.version; in hidp_copy_session() 92 ci->version = session->hid->version; in hidp_copy_session() 670 input->id.version = req->version; in hidp_setup_input() 775 hid->version = req->version; in hidp_setup_hid()
|
/net/bridge/netfilter/ |
D | nf_tables_bridge.c | 31 if (iph->ihl < 5 || iph->version != 4) in nft_bridge_iphdr_validate() 56 if (hdr->version != 6) in nft_bridge_ip6hdr_validate()
|
/net/vmw_vsock/ |
D | vmci_transport.c | 153 pkt->version = VMCI_TRANSPORT_PACKET_VERSION; in vmci_transport_packet_init() 376 u16 version) in vmci_transport_send_negotiate2() argument 381 size, 0, NULL, version, in vmci_transport_send_negotiate2() 493 u16 version) in vmci_transport_send_conn_request2() argument 497 size, 0, NULL, version, in vmci_transport_send_conn_request2() 1067 u16 version = VSOCK_PROTO_INVALID; in vmci_transport_recv_listen() local 1069 pending, &version, true)) in vmci_transport_recv_listen() 1399 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 …]
|
/net/bluetooth/cmtp/ |
D | capi.c | 272 ctrl->version.majorversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 16); in cmtp_recv_interopmsg() 273 ctrl->version.minorversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 20); in cmtp_recv_interopmsg() 274 ctrl->version.majormanuversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 24); in cmtp_recv_interopmsg() 275 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/6lowpan/ |
D | iphc.c | 476 hdr.version = 6; in lowpan_header_decompress() 568 hdr.version, ntohs(hdr.payload_len), hdr.nexthdr, in lowpan_header_decompress() 759 hdr->version, ntohs(hdr->payload_len), hdr->nexthdr, in lowpan_header_compress()
|