Skip to content

Instantly share code, notes, and snippets.

@oshothebig
Created March 19, 2012 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oshothebig/2111386 to your computer and use it in GitHub Desktop.
Save oshothebig/2111386 to your computer and use it in GitHub Desktop.
Lines of code of Open vSwitch
486 ./datapath/actions.c
578 ./datapath/brcompat_main.c
271 ./datapath/checksum.c
149 ./datapath/checksum.h
84 ./datapath/compat.h
2241 ./datapath/datapath.c
195 ./datapath/datapath.h
74 ./datapath/dp_notify.c
38 ./datapath/dp_sysfs.h
419 ./datapath/dp_sysfs_dp.c
275 ./datapath/dp_sysfs_if.c
1378 ./datapath/flow.c
207 ./datapath/flow.h
146 ./datapath/genl_exec.c
27 ./datapath/genl_exec.h
82 ./datapath/linux/compat/addrconf_core-openvswitch.c
32 ./datapath/linux/compat/dev-openvswitch.c
48 ./datapath/linux/compat/exthdrs_core.c
391 ./datapath/linux/compat/flex_array.c
10 ./datapath/linux/compat/genetlink-brcompat.c
4 ./datapath/linux/compat/genetlink-openvswitch.c
10 ./datapath/linux/compat/include/linux/checksum.h
9 ./datapath/linux/compat/include/linux/compiler-gcc.h
14 ./datapath/linux/compat/include/linux/compiler.h
11 ./datapath/linux/compat/include/linux/cpumask.h
114 ./datapath/linux/compat/include/linux/dmi.h
21 ./datapath/linux/compat/include/linux/err.h
19 ./datapath/linux/compat/include/linux/etherdevice.h
86 ./datapath/linux/compat/include/linux/flex_array.h
23 ./datapath/linux/compat/include/linux/genetlink.h
13 ./datapath/linux/compat/include/linux/icmp.h
13 ./datapath/linux/compat/include/linux/icmpv6.h
21 ./datapath/linux/compat/include/linux/if.h
15 ./datapath/linux/compat/include/linux/if_arp.h
19 ./datapath/linux/compat/include/linux/if_ether.h
91 ./datapath/linux/compat/include/linux/if_vlan.h
36 ./datapath/linux/compat/include/linux/in.h
14 ./datapath/linux/compat/include/linux/inetdevice.h
19 ./datapath/linux/compat/include/linux/ip.h
13 ./datapath/linux/compat/include/linux/ipv6.h
34 ./datapath/linux/compat/include/linux/jiffies.h
61 ./datapath/linux/compat/include/linux/kernel.h
30 ./datapath/linux/compat/include/linux/kobject.h
449 ./datapath/linux/compat/include/linux/lockdep.h
17 ./datapath/linux/compat/include/linux/log2.h
59 ./datapath/linux/compat/include/linux/mutex.h
157 ./datapath/linux/compat/include/linux/netdevice.h
24 ./datapath/linux/compat/include/linux/netfilter_bridge.h
19 ./datapath/linux/compat/include/linux/netfilter_ipv4.h
35 ./datapath/linux/compat/include/linux/netlink.h
11 ./datapath/linux/compat/include/linux/poison.h
23 ./datapath/linux/compat/include/linux/rculist.h
21 ./datapath/linux/compat/include/linux/rcupdate.h
40 ./datapath/linux/compat/include/linux/reciprocal_div.h
84 ./datapath/linux/compat/include/linux/rtnetlink.h
254 ./datapath/linux/compat/include/linux/skbuff.h
31 ./datapath/linux/compat/include/linux/slab.h
17 ./datapath/linux/compat/include/linux/stddef.h
18 ./datapath/linux/compat/include/linux/tcp.h
96 ./datapath/linux/compat/include/linux/timer.h
15 ./datapath/linux/compat/include/linux/types.h
147 ./datapath/linux/compat/include/linux/u64_stats_sync.h
13 ./datapath/linux/compat/include/linux/udp.h
73 ./datapath/linux/compat/include/linux/workqueue.h
41 ./datapath/linux/compat/include/net/checksum.h
17 ./datapath/linux/compat/include/net/dst.h
177 ./datapath/linux/compat/include/net/genetlink.h
14 ./datapath/linux/compat/include/net/ip.h
13 ./datapath/linux/compat/include/net/ipv6.h
89 ./datapath/linux/compat/include/net/net_namespace.h
173 ./datapath/linux/compat/include/net/netlink.h
12 ./datapath/linux/compat/include/net/netns/generic.h
12 ./datapath/linux/compat/include/net/protocol.h
21 ./datapath/linux/compat/include/net/route.h
15 ./datapath/linux/compat/include/net/sock.h
33 ./datapath/linux/compat/ip_output-openvswitch.c
22 ./datapath/linux/compat/kmemdup.c
108 ./datapath/linux/compat/net_namespace.c
100 ./datapath/linux/compat/netdevice.c
9 ./datapath/linux/compat/reciprocal_div.c
14 ./datapath/linux/compat/skbuff-openvswitch.c
39 ./datapath/linux/compat/time.c
213 ./datapath/linux/compat/workqueue.c
1654 ./datapath/tunnel.c
289 ./datapath/tunnel.h
58 ./datapath/vlan.c
100 ./datapath/vlan.h
847 ./datapath/vport-capwap.c
32 ./datapath/vport-capwap.h
36 ./datapath/vport-generic.c
28 ./datapath/vport-generic.h
423 ./datapath/vport-gre.c
338 ./datapath/vport-internal_dev.c
28 ./datapath/vport-internal_dev.h
429 ./datapath/vport-netdev.c
49 ./datapath/vport-netdev.h
319 ./datapath/vport-patch.c
528 ./datapath/vport.c
261 ./datapath/vport.h
488 ./include/linux/openvswitch.h
58 ./include/linux/types.h
1971 ./include/openflow/nicira-ext.h
716 ./include/openflow/openflow-1.0.h
204 ./include/openflow/openflow-1.1.h
197 ./include/openflow/openflow-common.h
23 ./include/openflow/openflow.h
100 ./include/openvswitch/brcompat-netlink.h
45 ./include/openvswitch/datapath-compat.h
75 ./include/openvswitch/tunnel.h
63 ./include/openvswitch/types.h
21 ./include/sparse/arpa/inet.h
22 ./include/sparse/assert.h
203 ./include/sparse/math.h
95 ./include/sparse/netinet/in.h
61 ./include/sparse/netinet/ip6.h
134 ./include/sparse/sys/socket.h
34 ./include/sparse/sys/wait.h
846 ./lib/aes128.c
37 ./lib/aes128.h
97 ./lib/autopath.c
36 ./lib/autopath.h
122 ./lib/backtrace.c
31 ./lib/backtrace.h
91 ./lib/bitmap.c
107 ./lib/bitmap.h
1550 ./lib/bond.c
101 ./lib/bond.h
381 ./lib/bundle.c
55 ./lib/bundle.h
71 ./lib/byte-order.h
197 ./lib/byteq.c
52 ./lib/byteq.h
727 ./lib/cfm.c
74 ./lib/cfm.h
1207 ./lib/classifier.c
197 ./lib/classifier.h
199 ./lib/command-line.c
41 ./lib/command-line.h
40 ./lib/compiler.h
212 ./lib/coverage.c
67 ./lib/coverage.h
118 ./lib/csum.c
32 ./lib/csum.h
674 ./lib/daemon.c
76 ./lib/daemon.h
48 ./lib/dhcp.h
26 ./lib/dhparams.h
26 ./lib/dirs.h
1737 ./lib/dpif-linux.c
62 ./lib/dpif-linux.h
1308 ./lib/dpif-netdev.c
344 ./lib/dpif-provider.h
1268 ./lib/dpif.c
259 ./lib/dpif.h
37 ./lib/dummy.c
30 ./lib/dummy.h
360 ./lib/dynamic-string.c
90 ./lib/dynamic-string.h
65 ./lib/entropy.c
24 ./lib/entropy.h
297 ./lib/fatal-signal.c
42 ./lib/fatal-signal.h
1094 ./lib/flow.c
221 ./lib/flow.h
103 ./lib/hash.c
125 ./lib/hash.h
216 ./lib/heap.c
163 ./lib/heap.h
263 ./lib/hmap.c
335 ./lib/hmap.h
197 ./lib/hmapx.c
71 ./lib/hmapx.h
1643 ./lib/json.c
139 ./lib/json.h
1043 ./lib/jsonrpc.c
127 ./lib/jsonrpc.h
895 ./lib/lacp.c
80 ./lib/lacp.h
243 ./lib/leak-checker.c
41 ./lib/leak-checker.h
687 ./lib/learn.c
40 ./lib/learn.h
543 ./lib/learning-switch.c
71 ./lib/learning-switch.h
188 ./lib/list.c
74 ./lib/list.h
286 ./lib/lockfile.c
26 ./lib/lockfile.h
327 ./lib/mac-learning.c
118 ./lib/mac-learning.h
2461 ./lib/meta-flow.c
277 ./lib/meta-flow.h
261 ./lib/multipath.c
40 ./lib/multipath.h
471 ./lib/netdev-dummy.c
4551 ./lib/netdev-linux.c
34 ./lib/netdev-linux.h
596 ./lib/netdev-provider.h
976 ./lib/netdev-vport.c
34 ./lib/netdev-vport.h
1457 ./lib/netdev.c
227 ./lib/netdev.h
80 ./lib/netflow.h
215 ./lib/netlink-notifier.c
50 ./lib/netlink-notifier.h
182 ./lib/netlink-protocol.h
1176 ./lib/netlink-socket.c
99 ./lib/netlink-socket.h
770 ./lib/netlink.c
204 ./lib/netlink.h
942 ./lib/nx-match.c
136 ./lib/nx-match.h
1940 ./lib/odp-util.c
142 ./lib/odp-util.h
287 ./lib/ofp-errors.c
414 ./lib/ofp-errors.h
757 ./lib/ofp-parse.c
44 ./lib/ofp-parse.h
1818 ./lib/ofp-print.c
48 ./lib/ofp-print.h
3953 ./lib/ofp-util.c
656 ./lib/ofp-util.h
533 ./lib/ofpbuf.c
114 ./lib/ofpbuf.h
1954 ./lib/ovsdb-data.c
260 ./lib/ovsdb-data.h
249 ./lib/ovsdb-error.c
69 ./lib/ovsdb-error.h
81 ./lib/ovsdb-idl-provider.h
2263 ./lib/ovsdb-idl.c
162 ./lib/ovsdb-idl.h
164 ./lib/ovsdb-parser.c
79 ./lib/ovsdb-parser.h
693 ./lib/ovsdb-types.c
221 ./lib/ovsdb-types.h
498 ./lib/packets.c
474 ./lib/packets.h
164 ./lib/pcap.c
30 ./lib/pcap.h
292 ./lib/poll-loop.c
72 ./lib/poll-loop.h
658 ./lib/process.c
51 ./lib/process.h
129 ./lib/random.c
33 ./lib/random.h
1116 ./lib/rconn.c
111 ./lib/rconn.h
700 ./lib/reconnect.c
119 ./lib/reconnect.h
491 ./lib/route-table.c
33 ./lib/route-table.h
139 ./lib/rtnetlink-link.c
63 ./lib/rtnetlink-link.h
46 ./lib/sat-math.h
552 ./lib/sflow.h
496 ./lib/sflow_agent.c
344 ./lib/sflow_api.h
165 ./lib/sflow_poller.c
840 ./lib/sflow_receiver.c
190 ./lib/sflow_sampler.c
315 ./lib/sha1.c
66 ./lib/sha1.h
370 ./lib/shash.c
80 ./lib/shash.h
179 ./lib/signals.c
36 ./lib/signals.h
1018 ./lib/socket-util.c
66 ./lib/socket-util.h
70 ./lib/sort.c
26 ./lib/sort.h
253 ./lib/sset.c
96 ./lib/sset.h
1387 ./lib/stp.c
152 ./lib/stp.h
272 ./lib/stream-fd.c
36 ./lib/stream-fd.h
76 ./lib/stream-nossl.c
189 ./lib/stream-provider.h
1335 ./lib/stream-ssl.c
47 ./lib/stream-ssl.h
144 ./lib/stream-tcp.c
120 ./lib/stream-unix.c
809 ./lib/stream.c
96 ./lib/stream.h
219 ./lib/stress.c
94 ./lib/stress.h
28 ./lib/string.c
40 ./lib/string.h
387 ./lib/svec.c
78 ./lib/svec.h
601 ./lib/table.c
125 ./lib/table.h
117 ./lib/tag.c
135 ./lib/tag.h
42 ./lib/timer.c
74 ./lib/timer.h
609 ./lib/timeval.c
74 ./lib/timeval.h
39 ./lib/type-props.h
223 ./lib/unaligned.h
164 ./lib/unicode.c
58 ./lib/unicode.h
491 ./lib/unixctl.c
53 ./lib/unixctl.h
901 ./lib/util.c
240 ./lib/util.h
237 ./lib/uuid.c
82 ./lib/uuid.h
26 ./lib/valgrind.h
188 ./lib/vconn-provider.h
404 ./lib/vconn-stream.c
1049 ./lib/vconn.c
82 ./lib/vconn.h
70 ./lib/vlan-bitmap.c
43 ./lib/vlan-bitmap.h
247 ./lib/vlandev.c
52 ./lib/vlandev.h
825 ./lib/vlog.c
257 ./lib/vlog.h
126 ./ofproto/collectors.c
34 ./ofproto/collectors.h
1604 ./ofproto/connmgr.c
159 ./ofproto/connmgr.h
257 ./ofproto/fail-open.c
42 ./ofproto/fail-open.h
569 ./ofproto/in-band.c
47 ./ofproto/in-band.h
35 ./ofproto/names.c
302 ./ofproto/netflow.c
74 ./ofproto/netflow.h
593 ./ofproto/ofproto-dpif-sflow.c
53 ./ofproto/ofproto-dpif-sflow.h
6494 ./ofproto/ofproto-dpif.c
1157 ./ofproto/ofproto-provider.h
4096 ./ofproto/ofproto.c
369 ./ofproto/ofproto.h
322 ./ofproto/pinsched.c
35 ./ofproto/pinsched.h
234 ./ofproto/pktbuf.c
39 ./ofproto/pktbuf.h
283 ./ovsdb/column.c
87 ./ovsdb/column.h
292 ./ovsdb/condition.c
72 ./ovsdb/condition.h
739 ./ovsdb/execution.c
804 ./ovsdb/file.c
47 ./ovsdb/file.h
1409 ./ovsdb/jsonrpc-server.c
60 ./ovsdb/jsonrpc-server.h
399 ./ovsdb/log.c
48 ./ovsdb/log.h
521 ./ovsdb/mutation.c
72 ./ovsdb/mutation.h
988 ./ovsdb/ovsdb-client.c
784 ./ovsdb/ovsdb-server.c
556 ./ovsdb/ovsdb-tool.c
411 ./ovsdb/ovsdb.c
99 ./ovsdb/ovsdb.h
105 ./ovsdb/ovsdbmonitor/OVEApp.py
221 ./ovsdb/ovsdbmonitor/OVECommonWindow.py
101 ./ovsdb/ovsdbmonitor/OVEConfig.py
127 ./ovsdb/ovsdbmonitor/OVEConfigWindow.py
388 ./ovsdb/ovsdbmonitor/OVEFetch.py
327 ./ovsdb/ovsdbmonitor/OVEFlowWindow.py
54 ./ovsdb/ovsdbmonitor/OVEHostWindow.py
45 ./ovsdb/ovsdbmonitor/OVELogger.py
64 ./ovsdb/ovsdbmonitor/OVELogWindow.py
138 ./ovsdb/ovsdbmonitor/OVEMainWindow.py
42 ./ovsdb/ovsdbmonitor/OVEStandard.py
135 ./ovsdb/ovsdbmonitor/OVEUtil.py
331 ./ovsdb/ovsdbmonitor/qt4reactor.py
106 ./ovsdb/ovsdbmonitor/Ui_ConfigWindow.py
136 ./ovsdb/ovsdbmonitor/Ui_FlowWindow.py
75 ./ovsdb/ovsdbmonitor/Ui_HostWindow.py
42 ./ovsdb/ovsdbmonitor/Ui_LogWindow.py
222 ./ovsdb/ovsdbmonitor/Ui_MainWindow.py
97 ./ovsdb/query.c
37 ./ovsdb/query.h
420 ./ovsdb/row.c
175 ./ovsdb/row.h
197 ./ovsdb/server.c
89 ./ovsdb/server.h
342 ./ovsdb/table.c
73 ./ovsdb/table.h
1062 ./ovsdb/transaction.c
47 ./ovsdb/transaction.h
129 ./ovsdb/trigger.c
43 ./ovsdb/trigger.h
2350 ./python/compat/argparse.py
594 ./python/compat/uuid.py
1 ./python/ovs/__init__.py
537 ./python/ovs/daemon.py
1 ./python/ovs/db/__init__.py
547 ./python/ovs/db/data.py
34 ./python/ovs/db/error.py
1154 ./python/ovs/db/idl.py
109 ./python/ovs/db/parser.py
271 ./python/ovs/db/schema.py
582 ./python/ovs/db/types.py
8 ./python/ovs/dirs.py
136 ./python/ovs/fatal_signal.py
584 ./python/ovs/json.py
533 ./python/ovs/jsonrpc.py
70 ./python/ovs/ovsuuid.py
126 ./python/ovs/poller.py
41 ./python/ovs/process.py
583 ./python/ovs/reconnect.py
149 ./python/ovs/socket_util.py
305 ./python/ovs/stream.py
26 ./python/ovs/timeval.py
306 ./python/ovs/unixctl.py
93 ./python/ovs/util.py
200 ./python/ovs/vlog.py
1 ./python/ovstest/__init__.py
115 ./python/ovstest/args.py
203 ./python/ovstest/rpcserver.py
139 ./python/ovstest/tcp.py
90 ./python/ovstest/udp.py
74 ./python/ovstest/util.py
74 ./tests/appctl.py
98 ./tests/MockXenAPI.py
69 ./tests/test-aes128.c
268 ./tests/test-bundle.c
53 ./tests/test-byte-order.c
910 ./tests/test-classifier.c
242 ./tests/test-csum.c
60 ./tests/test-daemon.py
39 ./tests/test-file_name.c
98 ./tests/test-flows.c
155 ./tests/test-hash.c
486 ./tests/test-heap.c
296 ./tests/test-hmap.c
158 ./tests/test-json.c
96 ./tests/test-json.py
336 ./tests/test-jsonrpc.c
215 ./tests/test-jsonrpc.py
177 ./tests/test-list.c
290 ./tests/test-lockfile.c
131 ./tests/test-multipath.c
316 ./tests/test-netflow.c
100 ./tests/test-odp.c
1974 ./tests/test-ovsdb.c
524 ./tests/test-ovsdb.py
164 ./tests/test-packets.c
79 ./tests/test-random.c
292 ./tests/test-reconnect.c
224 ./tests/test-reconnect.py
154 ./tests/test-sha1.c
670 ./tests/test-stp.c
38 ./tests/test-strtok_r.c
135 ./tests/test-timeval.c
66 ./tests/test-type-props.c
64 ./tests/test-unix-socket.c
90 ./tests/test-unixctl.py
174 ./tests/test-util.c
39 ./tests/test-uuid.c
414 ./tests/test-vconn.c
48 ./tests/test-vlog.py
142 ./utilities/nlmon.c
207 ./utilities/ovs-appctl.c
618 ./utilities/ovs-benchmark.c
438 ./utilities/ovs-controller.c
949 ./utilities/ovs-dpctl.c
1883 ./utilities/ovs-ofctl.c
145 ./utilities/ovs-vlan-bug-workaround.c
3924 ./utilities/ovs-vsctl.c
3749 ./vswitchd/bridge.c
26 ./vswitchd/bridge.h
946 ./vswitchd/ovs-brcompatd.c
251 ./vswitchd/ovs-vswitchd.c
506 ./vswitchd/system-stats.c
21 ./vswitchd/system-stats.h
79 ./vswitchd/xenserver.c
21 ./vswitchd/xenserver.h
965 ./xenserver/opt_xensource_libexec_InterfaceReconfigure.py
476 ./xenserver/opt_xensource_libexec_InterfaceReconfigureBridge.py
730 ./xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py
331 ./xenserver/usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py
164700 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment