pv: new pv class - $af(key)
authorDaniel-Constantin Mierla <miconda@gmail.com>
Tue, 25 Sep 2012 21:13:50 +0000 (23:13 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Tue, 25 Sep 2012 21:13:50 +0000 (23:13 +0200)
commita2de5aba014c34fa0d37c1d527ff241e3969e897
tree09cca7327c3fa478764446781515fcb992d432b0
parentdaf65bac9d276598d932c7f905c30587ccb5a855
pv: new pv class - $af(key)

- return address family for received message
- key can be:
- id: return integer representation for IPv4 or IPv6 (value of AF_INET and AF_INET6)
- name: return "IPv4" or "IPv6"
modules_k/pv/pv.c
modules_k/pv/pv_core.c
modules_k/pv/pv_core.h