Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

gen_netlink API changed

 * all messages in a netlink event are sent as one erlang message to the subscriber
 * the done message at the end of multipart messages is included in these messages to the subscriber
 * the name of no subsystem has been changed to "netlink", so a #netlink record is created by the encoding routines
  • Loading branch information...
commit d8c8c7ad74ed68df3d696ad0c6934cca67b951a4 1 parent 995aee3
Robin Haberkorn authored

Showing 2 changed files with 27 additions and 16 deletions. Show diff stats Hide diff stats

  1. +18 1 include/netlink.hrl
  2. +9 15 src/netlink.erl
19 include/netlink.hrl
@@ -37,9 +37,18 @@
@@ -60,3 +69,11 @@
24 src/netlink.erl
@@ -165,7 +165,7 @@ enc_opt(rtnlgrp_phonet_route) -> ?RTNLGRP_PHONET_ROUTE.
@@ -173,7 +173,7 @@ nfnl_subsys(?NFNL_SUBSYS_ULOG) -> ulog;
@@ -350,7 +350,7 @@ define_consts() ->
@@ -1161,9 +1161,9 @@ subscribe(Pid, Types) ->
@@ -1195,14 +1195,14 @@ handle_info({udp, Ct, _IP, _port, Data}, #state{ct = Ct, rt = _Rt, subscribers =
@@ -1227,12 +1227,6 @@ terminate(Reason, _State) ->

0 comments on commit d8c8c7a

Please sign in to comment.
Something went wrong with that request. Please try again.