Home
last modified time | relevance | path

Searched refs:ver (Results 1 – 8 of 8) sorted by relevance

/net/ipv4/
Dgre.c75 u8 ver; in gre_rcv() local
81 ver = skb->data[1]&0x7f; in gre_rcv()
82 if (ver >= GREPROTO_MAX) in gre_rcv()
86 proto = rcu_dereference(gre_proto[ver]); in gre_rcv()
104 u8 ver = skb->data[(iph->ihl<<2) + 1]&0x7f; in gre_err() local
106 if (ver >= GREPROTO_MAX) in gre_err()
110 proto = rcu_dereference(gre_proto[ver]); in gre_err()
/net/packet/
Ddiag.c70 static int pdiag_put_ring(struct packet_ring_buffer *ring, int ver, int nl_type, in pdiag_put_ring() argument
75 if (!ring->pg_vec || ((ver > TPACKET_V2) && in pdiag_put_ring()
84 if (ver > TPACKET_V2) { in pdiag_put_ring()
/net/bridge/
Dbr_multicast.c90 hlist_for_each_entry_rcu(mp, &mdb->mhash[hash], hlist[mdb->ver]) { in __br_mdb_ip_get()
186 hlist_for_each_entry(mp, &old->mhash[i], hlist[old->ver]) in br_mdb_copy()
187 hlist_add_head(&mp->hlist[new->ver], in br_mdb_copy()
196 hlist_for_each_entry(mp, &new->mhash[i], hlist[new->ver]) in br_mdb_copy()
238 hlist_del_rcu(&mp->hlist[mdb->ver]); in br_multicast_group_expired()
319 mdb->ver = old ? old->ver ^ 1 : 0; in br_mdb_rehash()
519 hlist_for_each_entry(mp, &mdb->mhash[hash], hlist[mdb->ver]) { in br_multicast_get_group()
622 hlist_add_head_rcu(&mp->hlist[mdb->ver], &mdb->mhash[hash]); in br_multicast_new_group()
1656 u32 ver; in br_multicast_stop() local
1670 ver = mdb->ver; in br_multicast_stop()
[all …]
Dbr_mdb.c67 hlist_for_each_entry_rcu(mp, &mdb->mhash[i], hlist[mdb->ver]) { in br_mdb_fill_info()
Dbr_private.h125 u32 ver; member
/net/ceph/
Dosd_client.c583 op->watch.ver = version; in osd_req_op_watch_init()
673 dst->watch.ver = cpu_to_le64(src->watch.ver); in osd_req_encode_op()
1943 u64 ver = event_work->ver; in do_event_work() local
1948 event->cb(ver, notify_id, opcode, event->data); in do_event_work()
1963 u64 cookie, ver, notify_id; in handle_watch_notify() local
1974 ceph_decode_64_safe(&p, end, ver, bad); in handle_watch_notify()
1985 cookie, ver, event); in handle_watch_notify()
1994 event_work->ver = ver; in handle_watch_notify()
/net/openvswitch/
Dflow.c303 int ver = table->node_ver; in ovs_flow_tbl_destroy() local
305 hlist_for_each_entry_safe(flow, n, head, hash_node[ver]) { in ovs_flow_tbl_destroy()
306 hlist_del_rcu(&flow->hash_node[ver]); in ovs_flow_tbl_destroy()
335 int ver; in ovs_flow_tbl_next() local
338 ver = table->node_ver; in ovs_flow_tbl_next()
342 hlist_for_each_entry_rcu(flow, head, hash_node[ver]) { in ovs_flow_tbl_next()
/net/l2tp/
Dl2tp_ppp.c603 int ver = 2; in pppol2tp_connect() local
638 ver = 3; in pppol2tp_connect()
655 ver = 3; in pppol2tp_connect()
683 error = l2tp_tunnel_create(sock_net(sk), fd, ver, tunnel_id, peer_tunnel_id, &tcfg, &tunnel); in pppol2tp_connect()