search for: rsskey

Displaying 3 results from an estimated 3 matches for "rsskey".

Did you mean: rss_key
2006 Jul 19
6
ActiveRecord::RecordNotSaved - bizarre behaviour.
...ecord::RecordNotSaved (ActiveRecord::RecordNotSaved): ... As you can see, there''s no INSERT SQL generated, which is the root cause of the problem. In my user model, I have the following call back: def before_create self.password = Digest::SHA1.hexdigest(self.password) self.rsskey = Digest::SHA1.hexdigest(Time.now.to_s+"_"+String.rand(15)) self.otp = Digest::SHA1.hexdigest(Time.now.to_s+"_"+String.rand(15)) self.verified = false #logger.debug("--> "+self.to_s) #This is the magic line!! end The really really black magic par...
2018 Sep 25
2
bpf compilation using clang
...return hash; } static int __attribute__((always_inline)) rss_l3_l4(struct __sk_buff *skb) { __u64 proto = load_half(skb, 12); __u64 nhoff = ETH_HLEN; __u32 key_idx = 0xdeadbeef; __u32 hash = 0; struct virtio_net_hdr_rss * rss_conf; struct rss_key *rsskey; int j = 0; __u8 *key = 0; __u32 len = 0; __u32 queue = 0; __u32 q = 0; rss_conf = (struct virtio_net_hdr_rss *) map_lookup_elem(&map_rss, &key_idx); if (!rss_conf) { printt("hash(): rss key is not configured\n&qu...
2018 Sep 13
4
bpf compilation using clang
Hi all, I am trying to insert instructions into the bpf using the bpf syscall, the instructions were generated using the following command line: clang -I ~/Builds/bpf_rss/iproute2/include -Wall -target bpf -O2 -emit-llvm -c upstream/qemu/hw/net/rss_tap_bpf_program.c -o - | llc -march=bpf -filetype=obj -o tap_bpf_program.o and then were translated to bpf instructions using the BPFCparser tool