Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Kernel code quotes

118 bytes added, 08:34, 25 December 2007
use source tag
----
<presource lang="c">
static char vlan_copyright[] = "...";
static char vlan_buggyright[] = "...";
</presource>
:''from linux-2.6.24-rc5/net/8021q/vlan.c''
----
<presource lang="c">
/* This code sucks. But you should have seen it before! --RR */
</presource>
:''from linux-2.6.23/net/ipv4/route.c''
----
<presource lang="c">
static void dn_long_error_report(struct neighbour *neigh, struct sk_buff *skb)
{
kfree_skb(skb);
}
</presource>
:''from linux-2.6.23/net/decnet/dn_neigh.c''
----
<presource lang="c">
/* Unfortunately we don't support this one. Any brave souls? */
</presource>
:''from linux-2.6.23/include/linux/skbuff.h:skb_forward_csum()''
----
<presource lang="c">
#define IT_ID_SET 1
#define IT_ID_NOT_SET 0
</presource>
:''from linux-2.6.23/kernel/posix-timers.c''
----
<presource lang="c"> * "I ask you, have you ever known what it is to be an orphan?" */
static int will_become_orphaned_pgrp(...
</presource>
:''from linux-2.6.23/kernel/exit.c''
----
<presource lang="c">
#ifndef I_WISH_WORLD_WERE_PERFECT
/* It is not :-( ...
</presource>
:''from linux-2.6.23/net/ipv4/ip_gre.c:ipgre_err()''
----
<presource lang="c">
static inline int sk_hashed(const struct sock *sk)
{
return !sk_unhashed(sk);
}
</presource>
:''from linux-2.6.23/include/net/sock.h''