/* * netsniff-ng - the packet sniffing beast * Copyright 2013 Daniel Borkmann. * Subject to the GPL, version 2. */ #ifndef GEOIPH_H #define GEOIPH_H #include extern void init_geoip(int enforce); extern void update_geoip(void); extern int geoip_working(void); extern const char *geoip4_city_name(struct sockaddr_in sa); extern const char *geoip6_city_name(struct sockaddr_in6 sa); extern const char *geoip4_region_name(struct sockaddr_in sa); extern const char *geoip6_region_name(struct sockaddr_in6 sa); extern const char *geoip4_country_name(struct sockaddr_in sa); extern const char *geoip6_country_name(struct sockaddr_in6 sa); extern float geoip4_longitude(struct sockaddr_in sa); extern float geoip4_latitude(struct sockaddr_in sa); extern float geoip6_longitude(struct sockaddr_in6 sa); extern float geoip6_latitude(struct sockaddr_in6 sa); extern const char *geoip4_as_name(struct sockaddr_in sa); extern const char *geoip6_as_name(struct sockaddr_in6 sa); extern void destroy_geoip(void); #endif /* GEOIPH_H */ tion value='emaclite-cleanup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-04-17 18:54:15 -0400
committerDavid S. Miller <davem@davemloft.net>2016-04-17 18:54:15 -0400
commitccd37cffe39d7d4f1c1efcd42ec829ec16c7db66 (patch)
tree0ed8e7835063165c4c28e55059036dbb92e59336 /.mailmap
parentefde611b0afa47e64f2a329f4430830b91d77ea2 (diff)
parentd967ecbc0b875081624857f27df4ed23c5eca106 (diff)
Merge branch 'dsa-mv88e6xxx-switch-factorization'
Vivien Didelot says: ==================== net: dsa: mv88e6xxx: factorize switch info This patchset factorizes the mv88e6xxx code by sharing a new extendable info structure to store static data such as switch family, product number, number of ports, number of databases and the name. The next step is to add a "flags" bitmap member to the info structure in order to simplify the shared code with a feature-based logic instead of checking their family/ID. This is a step forward having a single mv88e6xxx driver supporting many similar devices, like any usual Linux driver. Changes v3 -> v4: - constify probed name in DSA - rebase patchset above conflicting commit 48ace4e Changes v2 -> v3: - update commit messages and add Andrew's tags - keep the info lookup code in a separated function - split the single switch ID reading in probe in a new commit Changes v1 -> v2: - define PORT_SWITCH_ID_PROD_NUM_* values - use plain struct mv88e6xxx_info - remove non used yet ps->rev ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.mailmap')