~as-s/helenos/ipv6

« back to all changes in this revision

Viewing changes to uspace/lib/c/include/inet/inetping.h

  • Committer: Anthony Steinhauser
  • Date: 2013-07-08 01:07:36 UTC
  • Revision ID: as@strmilov.cz-20130708010736-pbvrszhamp0v64ez
HelenOS networking stack supports IPv6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Copyright (c) 2012 Jiri Svoboda
 
3
 * Copyright (c) 2013 Antonin Steinhauser
3
4
 * All rights reserved.
4
5
 *
5
6
 * Redistribution and use in source and binary forms, with or without
39
40
#include <sys/types.h>
40
41
 
41
42
typedef struct {
42
 
        in_addr_t src;
43
 
        in_addr_t dest;
 
43
        in6_addr_t src;
 
44
        in6_addr_t dest;
44
45
        uint16_t seq_no;
45
46
        void *data;
46
47
        size_t size;
52
53
 
53
54
extern int inetping_init(inetping_ev_ops_t *);
54
55
extern int inetping_send(inetping_sdu_t *);
55
 
extern int inetping_get_srcaddr(in_addr_t *, in_addr_t *);
 
56
extern int inetping_get_srcaddr(in6_addr_t *, in6_addr_t *);
56
57
 
57
58
 
58
59
#endif