Skip to content

Instantly share code, notes, and snippets.

@AlexeyAB
AlexeyAB / af_packet_classic.c
Created July 9, 2017 15:31 — forked from pavel-odintsov/af_packet_classic.c
af_packet_classic_habrahabr
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <unistd.h>
#include <boost/thread.hpp>
#include <arpa/inet.h>
#include <sys/socket.h>
@AlexeyAB
AlexeyAB / af_packet_rx_ring.c
Created July 9, 2017 15:31 — forked from pavel-odintsov/af_packet_rx_ring.c
af_packet_rx_ring_habrahabr.c
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <unistd.h>
#include <boost/thread.hpp>
#include <sys/mman.h>
#include <poll.h>
#include <arpa/inet.h>
@AlexeyAB
AlexeyAB / deploy.prototxt
Created April 12, 2016 20:26 — forked from bogger/deploy.prototxt
GoogLeNet_cars
name: "GoogleNet"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 224
input_dim: 224
# hierarchy 1
# conv -> relu -> pool -> lrn