Module ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assert Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assert Call NameLoad NameLoad NameLoad Pass decorator_list decorator_list
N/A programSerializer ProgramSerializer TargetConfig N/A object N/A __init__ N/A N/A self target N/A N/A N/A N/A self targetName target N/A getIncludes N/A N/A self N/A N/A N/A N/A serializeLookup N/A N/A self serializer tableName key value N/A N/A N/A N/A N/A serializer appendFormat {0} = bpf_map_lookup_elem(&{1}, &{2}); value tableName key N/A serializeUpdate N/A N/A self serializer tableName key value N/A N/A N/A N/A N/A serializer appendFormat bpf_map_update_elem(&{0}, &{1}, &{2}, BPF_ANY); tableName key value N/A serializeLicense N/A N/A self serializer licenseString N/A N/A N/A N/A isinstance serializer ProgramSerializer N/A N/A N/A serializer emitIndent N/A N/A N/A serializer appendFormat char _license[] {0}("license") = "{1}"; N/A N/A self config section licenseString N/A N/A N/A serializer newline N/A serializeCodeSection N/A N/A self serializer N/A N/A N/A N/A isinstance serializer ProgramSerializer N/A N/A N/A serializer appendFormat {0}("{1}") N/A self section N/A self entrySection N/A serializeTableDeclaration N/A N/A self serializer tableName isHash keyType valueType size N/A N/A N/A N/A isinstance serializer ProgramSerializer N/A N/A isinstance tableName str N/A N/A isinstance isHash bool N/A N/A isinstance keyType str N/A N/A isinstance valueType str N/A N/A isinstance size int N/A N/A N/A serializer emitIndent N/A N/A N/A serializer appendFormat struct {0} {1}("maps") {2} =  N/A self tableName N/A self section tableName N/A N/A N/A serializer blockStart N/A N/A N/A serializer emitIndent N/A N/A N/A serializer append .type =  N/A isHash N/A N/A N/A N/A serializer appendLine BPF_MAP_TYPE_HASH, N/A N/A N/A N/A serializer appendLine BPF_MAP_TYPE_ARRAY, N/A N/A N/A serializer emitIndent N/A N/A N/A serializer appendFormat .{0} = sizeof(struct {1}),  N/A self tableKeyAttribute keyType N/A N/A N/A serializer newline N/A N/A N/A serializer emitIndent N/A N/A N/A serializer appendFormat .{0} = sizeof(struct {1}),  N/A self tableValueAttribute valueType N/A N/A N/A serializer newline N/A N/A N/A serializer emitIndent N/A N/A N/A serializer appendFormat .{0} = {1},  N/A self tableSizeAttribute size N/A N/A N/A serializer newline N/A N/A N/A serializer blockEnd False N/A N/A N/A serializer endOfStatement True N/A generateDword N/A N/A self serializer N/A N/A N/A N/A N/A serializer appendFormat static inline {0}64 load_dword(void *skb, {0}64 off) N/A self uprefix N/A N/A N/A serializer newline N/A N/A N/A serializer blockStart N/A N/A N/A serializer emitIndent N/A N/A N/A serializer appendFormat N/A return (({0}64)load_word(skb, off) << 32) |  load_word(skb, off + 4); N/A self uprefix N/A N/A N/A serializer newline N/A N/A N/A serializer blockEnd True N/A N/A KernelSamplesConfig N/A TargetConfig N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super SocketConfig self __init__ Socket N/A N/A self entrySection socket1 N/A N/A self section SEC N/A N/A self uprefix u N/A N/A self iprefix i N/A N/A self tableKeyAttribute key_size N/A N/A self tableValueAttribute value_size N/A N/A self tableSizeAttribute max_entries N/A N/A self tableName bpf_map_def N/A N/A self postamble N/A getIncludes N/A N/A self N/A N/A N/A 
#include <uapi/linux/bpf.h>
#include <uapi/linux/if_ether.h>
#include <uapi/linux/if_packet.h>
#include <uapi/linux/ip.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include "bpf_helpers.h"
 N/A N/A BccConfig N/A TargetConfig N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super BccConfig self __init__ BCC N/A N/A self uprefix u N/A N/A self iprefix i N/A N/A self postamble N/A serializeTableDeclaration N/A N/A self serializer tableName isHash keyType valueType size N/A N/A N/A N/A isinstance serializer ProgramSerializer N/A N/A isinstance tableName str N/A N/A isinstance isHash bool N/A N/A isinstance keyType str N/A N/A isinstance valueType str N/A N/A isinstance size int N/A N/A N/A serializer emitIndent N/A isHash N/A N/A kind hash N/A N/A kind array N/A N/A N/A serializer appendFormat BPF_TABLE("{0}", {1}, {2}, {3}, {4}); kind keyType valueType tableName size N/A N/A N/A serializer newline N/A serializeLookup N/A N/A self serializer tableName key value N/A N/A N/A N/A N/A serializer appendFormat {0} = {1}.lookup(&{2}); value tableName key N/A serializeUpdate N/A N/A self serializer tableName key value N/A N/A N/A N/A N/A serializer appendFormat {0}.update(&{1}, &{2}); tableName key value N/A generateDword N/A N/A self serializer N/A N/A N/A N/A serializeCodeSection N/A N/A self serializer N/A N/A N/A N/A getIncludes N/A N/A self N/A N/A N/A 
#include <uapi/linux/bpf.h>
#include <uapi/linux/if_ether.h>
#include <uapi/linux/if_packet.h>
#include <uapi/linux/ip.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/pkt_cls.h>
 N/A serializeLicense N/A N/A self serializer licenseString N/A N/A N/A N/A isinstance serializer ProgramSerializer N/A N/A N/A