Searched defs:version (Results 1 - 25 of 27) sorted by relevance

12

/net/ipv4/
H A Dgre_demux.c8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
36 int gre_add_protocol(const struct gre_protocol *proto, u8 version) argument
38 if (version >= GREPROTO_MAX)
41 return (cmpxchg((const struct gre_protocol **)&gre_proto[version], NULL, proto) == NULL) ?
46 int gre_del_protocol(const struct gre_protocol *proto, u8 version) argument
50 if (version >= GREPROTO_MAX)
53 ret = (cmpxchg((const struct gre_protocol **)&gre_proto[version], proto, NULL) == proto) ?
146 /* WCCP version 1 and 2 protocol decoding.
/net/netfilter/
H A Dxt_l2tp.c6 * it under the terms of the GNU General Public License version 2 as
44 u8 version; member in struct:l2tp_data
57 if ((info->flags & XT_L2TP_VERSION) && (info->version != data->version))
62 ((data->type == XT_L2TP_TYPE_CONTROL) || (data->version == 2)) &&
107 data.version = (u8) flags & L2TP_HDR_VER;
115 if (data.version == 3) {
123 } else if (data.version == 2) {
168 data.version = 3;
232 /* If version
[all...]
H A Dnf_conntrack_netlink.c59 static char __initdata version[] = "0.93"; variable
473 nfmsg->version = NFNETLINK_V0;
654 nfmsg->version = NFNETLINK_V0;
1868 nfmsg->version = NFNETLINK_V0;
1955 nfmsg->version = NFNETLINK_V0;
2394 nfmsg->version = NFNETLINK_V0;
2445 nfmsg->version = NFNETLINK_V0;
3034 nfmsg->version = NFNETLINK_V0;
3204 pr_info("ctnetlink v%s: registering with nfnetlink.\n", version);
/net/bluetooth/hidp/
H A Dsock.c6 it under the terms of the GNU General Public License version 2 as
136 __u16 version; member in struct:compat_hidp_connadd_req
182 put_user(ca.version, &uca->version) ||
192 into the original compat version */
H A Dhidp.h6 it under the terms of the GNU General Public License version 2 as
99 __u16 version; member in struct:hidp_connadd_req
116 __u16 version; member in struct:hidp_conninfo
/net/rds/
H A Dib_cm.c73 * Set the selected protocol version
75 static void rds_ib_set_protocol(struct rds_connection *conn, unsigned int version) argument
77 conn->c_version = version;
145 printk(KERN_NOTICE "RDS/IB: Connection to %pI4 version %u.%u failed,"
153 printk(KERN_NOTICE "RDS/IB: connected to %pI4 version %u.%u%s\n",
408 u32 version = 0; local
415 * If the protocol version fields aren't set, this is a connection attempt
416 * from an older version. This could could be 3.0 or 2.0 - we can't tell.
434 version = RDS_PROTOCOL_3_0;
436 version
455 u32 version; local
[all...]
H A Diw_cm.c43 * Set the selected protocol version
45 static void rds_iw_set_protocol(struct rds_connection *conn, unsigned int version) argument
47 conn->c_version = version;
98 printk(KERN_NOTICE "RDS/IW: connected to %pI4<->%pI4 version %u.%u%s\n",
351 u32 version = 0; local
357 * If the protocol version fields aren't set, this is a connection attempt
358 * from an older version. This could could be 3.0 or 2.0 - we can't tell.
365 version = RDS_PROTOCOL_3_0;
367 version++;
370 "incompatible protocol version
386 u32 version; local
[all...]
H A Drecv.c113 struct rds_ext_header_version version; member in union:__anon135
/net/packet/
H A Dinternal.h45 unsigned short version; member in struct:tpacket_kbdq_core
/net/vmw_vsock/
H A Dvmci_transport.h8 * Software Foundation version 2 and no later version.
70 u8 version; member in struct:vmci_transport_packet
H A Dvmci_transport.c8 * Software Foundation version 2 and no later version.
153 pkt->version = VMCI_TRANSPORT_PACKET_VERSION;
343 u16 version)
348 size, 0, NULL, version,
460 u16 version)
464 size, 0, NULL, version,
1063 u16 version = VSOCK_PROTO_INVALID; local
1065 pending, &version, true))
1082 /* We choose the highest possible protocol version an
342 vmci_transport_send_negotiate2(struct sock *sk, size_t size, u16 version) argument
459 vmci_transport_send_conn_request2(struct sock *sk, size_t size, u16 version) argument
1398 u16 version; local
[all...]
/net/ceph/
H A Dmon_client.c22 * of cmon daemons use a modified version of the Paxos part-time parliament
46 u16 version; local
54 ceph_decode_16_safe(&p, end, version, bad);
795 req->request->hdr.version = cpu_to_le16(2);
H A Dosdmap.c521 ev = ceph_decode_8(p); /* encoding version */
522 cv = ceph_decode_8(p); /* compat version */
749 u16 version; local
752 ceph_decode_16_safe(p, end, version, e_inval);
753 if (version < 6) {
755 version, prefix);
H A Dosd_client.c550 u64 cookie, u64 version, int flag)
557 op->watch.ver = version;
1776 if (le16_to_cpu(msg->hdr.version) >= 6) {
1818 req->r_reassert_version.version = cpu_to_le64(reassert_version);
2343 msg->hdr.version = cpu_to_le16(4);
548 osd_req_op_watch_init(struct ceph_osd_request *osd_req, unsigned int which, u16 opcode, u64 cookie, u64 version, int flag) argument
/net/l2tp/
H A Dl2tp_core.h7 * it under the terms of the GNU General Public License version 2 as
179 int version; /* 2=>L2TPv2, 3=>L2TPv3 */ member in struct:l2tp_tunnel
251 int l2tp_tunnel_create(struct net *net, int fd, int version, u32 tunnel_id,
268 void l2tp_session_set_header_len(struct l2tp_session *session, int version);
H A Dl2tp_core.c17 * it under the terms of the GNU General Public License version 2 as
675 if (tunnel->version == L2TP_HDR_VER_2) {
719 l2tp_session_set_header_len(session, tunnel->version);
743 l2tp_session_set_header_len(session, tunnel->version);
758 if (tunnel->version == L2TP_HDR_VER_2) {
850 u16 version; local
882 /* Check protocol version */
883 version = hdrflags & L2TP_HDR_VER_MASK;
884 if (version != tunnel->version) {
1474 l2tp_tunnel_create(struct net *net, int fd, int version, u32 tunnel_id, u32 peer_tunnel_id, struct l2tp_tunnel_cfg *cfg, struct l2tp_tunnel **tunnelp) argument
1717 l2tp_session_set_header_len(struct l2tp_session *session, int version) argument
[all...]
/net/rxrpc/
H A Drxkad.c8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
584 challenge.version = htonl(2);
747 u32 version, nonce, min_level, abort_code; local
768 version = ntohl(challenge.version);
773 ntohl(sp->hdr.serial), version, nonce, min_level);
776 if (version != RXKAD_VERSION)
788 resp.version = RXKAD_VERSION;
1008 u32 abort_code, version, kvn local
[all...]
/net/sunrpc/
H A Dsvc.c806 const u32 version,
829 error = rpcb_v4_register(net, program, version,
837 error = rpcb_register(net, program, version, protocol, port);
854 const u32 version,
877 error = rpcb_v4_register(net, program, version,
881 * User space didn't support rpcbind version 4, so we won't
892 * Register a kernel RPC service via rpcbind version 4.
898 const u32 program, const u32 version,
907 error = __svc_rpcb_register4(net, program, version,
912 error = __svc_rpcb_register6(net, program, version,
805 __svc_rpcb_register4(struct net *net, const u32 program, const u32 version, const unsigned short protocol, const unsigned short port) argument
853 __svc_rpcb_register6(struct net *net, const u32 program, const u32 version, const unsigned short protocol, const unsigned short port) argument
897 __svc_register(struct net *net, const char *progname, const u32 program, const u32 version, const int family, const unsigned short protocol, const unsigned short port) argument
988 __svc_unregister(struct net *net, const u32 program, const u32 version, const char *progname) argument
[all...]
H A Drpcb_clnt.c6 * RFC 3530: "Network File System (NFS) version 4 Protocol"
241 .version = RPCBVERS_2,
300 .version = RPCBVERS_2,
360 int proto, u32 version)
369 .version = version,
414 * @vers: RPC version number to bind
425 * invoke this function once for each [program, version, transport]
430 * all registered transports for [program, version] from the local
433 * This function uses rpcbind protocol version
358 rpcb_create(struct net *net, const char *hostname, struct sockaddr *srvaddr, size_t salen, int proto, u32 version) argument
591 rpcb_v4_register(struct net *net, const u32 program, const u32 version, const struct sockaddr *address, const char *netid) argument
[all...]
H A Dclnt.c360 const struct rpc_version *version; local
374 if (args->version >= program->nrvers)
376 version = program->version[args->version];
377 if (version == NULL)
390 clnt->cl_procinfo = version->procs;
391 clnt->cl_maxproc = version->nrprocs;
393 clnt->cl_vers = version->number;
482 * it supports this program and version
[all...]
/net/batman-adv/
H A Dmain.c6 * modify it under the terms of version 2 of the GNU General Public
81 pr_info("B.A.T.M.A.N. advanced %s (compatibility version %i) loaded\n",
377 /* packet should hold at least type and version */
399 if (batadv_ogm_packet->version != BATADV_COMPAT_VERSION) {
401 "Drop packet: incompatible batman version (%i)\n",
402 batadv_ogm_packet->version);
618 * based on the provided type and version (both need to match)
621 * @version: tvlv handler version to look for
627 uint8_t type, uint8_t version)
626 batadv_tvlv_handler_get(struct batadv_priv *bat_priv, uint8_t type, uint8_t version) argument
675 batadv_tvlv_container_get(struct batadv_priv *bat_priv, uint8_t type, uint8_t version) argument
747 batadv_tvlv_container_unregister(struct batadv_priv *bat_priv, uint8_t type, uint8_t version) argument
770 batadv_tvlv_container_register(struct batadv_priv *bat_priv, uint8_t type, uint8_t version, void *tvlv_value, uint16_t tvlv_value_len) argument
1047 batadv_tvlv_handler_register(struct batadv_priv *bat_priv, void (*optr)(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t flags, void *tvlv_value, uint16_t tvlv_value_len), int (*uptr)(struct batadv_priv *bat_priv, uint8_t *src, uint8_t *dst, void *tvlv_value, uint16_t tvlv_value_len), uint8_t type, uint8_t version, uint8_t flags) argument
1091 batadv_tvlv_handler_unregister(struct batadv_priv *bat_priv, uint8_t type, uint8_t version) argument
1118 batadv_tvlv_unicast_send(struct batadv_priv *bat_priv, uint8_t *src, uint8_t *dst, uint8_t type, uint8_t version, void *tvlv_value, uint16_t tvlv_value_len) argument
[all...]
H A Dpacket.h6 * modify it under the terms of version 2 of the GNU General Public
206 * @version: batman-adv protocol version, part of the genereal header
213 uint8_t version; member in struct:batadv_ogm_packet
232 * @version: batman-adv protocol version, part of the genereal header
246 uint8_t version; member in struct:batadv_icmp_header
258 * @version: batman-adv protocol version, part of the genereal header
269 uint8_t version; member in struct:batadv_icmp_packet
296 uint8_t version; member in struct:batadv_icmp_packet_rr
331 uint8_t version; member in struct:batadv_unicast_packet
370 uint8_t version; /* batman version field */ member in struct:batadv_frag_packet
398 uint8_t version; /* batman version field */ member in struct:batadv_bcast_packet
428 uint8_t version; /* batman version field */ member in struct:batadv_coded_packet
459 uint8_t version; /* batman version field */ member in struct:batadv_unicast_tvlv_packet
476 uint8_t version; member in struct:batadv_tvlv_hdr
[all...]
/net/nfc/
H A Dllcp_core.c6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
534 u8 *gb_cur, *version_tlv, version, version_length; local
542 version = LLCP_VERSION_11;
543 version_tlv = nfc_llcp_build_tlv(LLCP_TLV_VERSION, &version,
/net/9p/
H A Dclient.c10 * it under the terms of the GNU General Public License version 2
63 {Opt_version, "version=%s"},
93 /* Interpret mount option for protocol version */
96 int version = -EINVAL; local
99 version = p9_proto_legacy;
100 p9_debug(P9_DEBUG_9P, "Protocol version: Legacy\n");
102 version = p9_proto_2000u;
103 p9_debug(P9_DEBUG_9P, "Protocol version: 9P2000.u\n");
105 version = p9_proto_2000L;
106 p9_debug(P9_DEBUG_9P, "Protocol version
941 char *version; local
[all...]
/net/netfilter/ipvs/
H A Dip_vs_sync.c8 * Version 1, is capable of handling both version 0 and 1 messages.
62 #define SYNC_PROTO_VER 1 /* Protocol version in header */
67 * Version 0, i.e. original version.
182 #define SVER_SHIFT 12 /* Shift to get version */
183 #define SVER_MASK 0x0fff /* Mask to strip version */
260 __s8 version; /* SYNC_PROTO_VER */ member in struct:ip_vs_sync_mesg
336 sb->mesg->version = SYNC_PROTO_VER;
635 /* Handle old version of the protocol */
781 * fill_param used by version 1
834 * Common for version
[all...]

Completed in 288 milliseconds

12