Skip to content

ng_ipv6_addr: initial import#2433

Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom
miri64:ng_ipv6_addr/feat/initial
Feb 20, 2015
Merged

ng_ipv6_addr: initial import#2433
miri64 merged 1 commit intoRIOT-OS:masterfrom
miri64:ng_ipv6_addr/feat/initial

Conversation

@miri64
Copy link
Copy Markdown
Member

@miri64 miri64 commented Feb 11, 2015

The motivation behind this module is to allow for address handling functions where they, but not the full IPv6 functionality might be needed. This new version of the IPv6 address data type utilizes the byteorder.h header to enforce network byte-order on its members.

@miri64 miri64 added this to the Network Stack Task Force milestone Feb 11, 2015
@miri64 miri64 added NSTF Type: new feature The issue requests / The PR implemements a new feature for RIOT Area: network Area: Networking labels Feb 11, 2015
@miri64 miri64 force-pushed the ng_ipv6_addr/feat/initial branch from ed40dc5 to a2ae2c5 Compare February 16, 2015 21:00
@miri64
Copy link
Copy Markdown
Member Author

miri64 commented Feb 16, 2015

Rebased

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parens

@OlegHahm OlegHahm added the CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable label Feb 17, 2015
@OlegHahm
Copy link
Copy Markdown
Member

I see your sneaky plan to make me spend more beer for overlooking a PR that needs squashing. ;)

@miri64
Copy link
Copy Markdown
Member Author

miri64 commented Feb 17, 2015

True! It absolutely has nothing to do with me not feeling responsible to set this Label ;P

@miri64
Copy link
Copy Markdown
Member Author

miri64 commented Feb 19, 2015

Reviewers, ping?

@OlegHahm
Copy link
Copy Markdown
Member

As usual: I have to motivate myself to look at the unit tests again. ;)

@LudwigKnuepfer
Copy link
Copy Markdown
Member

On the samr21-xpro:

$ make clean tests-ipv6_addr flash
...
$ make term
...
2015-02-19 17:38:33,325 - INFO # kernel_init(): This is RIOT! (Version: 2014.12-451-gd6680-ng_ipv6_addr/feat/initial)
2015-02-19 17:38:33,330 - INFO # kernel_init(): jumping into first task...
2015-02-19 17:38:33,345 - INFO # ..............................................
2015-02-19 17:38:33,346 - INFO # OK (46 tests)

@OlegHahm
Copy link
Copy Markdown
Member

I'm not talking about running the tests btw ;)

@LudwigKnuepfer
Copy link
Copy Markdown
Member

I understood that, just wanted to report this.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

__attribute__((packed))?

miri64 added a commit to miri64/RIOT that referenced this pull request Feb 20, 2015
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get this test. Wouldn't it make more sense if a and b would be initially different?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are, or more correct: a's value is unknown, since it is not initialized.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aaah / read , for a =.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is C, not Python 😀 (or is this possible oO?)

@OlegHahm
Copy link
Copy Markdown
Member

ACK apart from #2433 (comment)

@OlegHahm
Copy link
Copy Markdown
Member

Squash and go then (if Travis is happy).

The motivation behind this module is to allow for address handling
functions where they, but not the full IPv6 functionality might be
needed. This new version of the IPv6 address data type utilizes the
byteorder.h header to enforce network byte-order on its members.
@miri64 miri64 force-pushed the ng_ipv6_addr/feat/initial branch from cbd34c1 to ff36abb Compare February 20, 2015 16:40
@miri64
Copy link
Copy Markdown
Member Author

miri64 commented Feb 20, 2015

Squashed; waiting for travis

@miri64 miri64 removed the CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable label Feb 20, 2015
miri64 added a commit that referenced this pull request Feb 20, 2015
@miri64 miri64 merged commit dad4e8d into RIOT-OS:master Feb 20, 2015
@miri64 miri64 deleted the ng_ipv6_addr/feat/initial branch February 20, 2015 18:27
miri64 added a commit to miri64/RIOT that referenced this pull request Feb 20, 2015
miri64 added a commit to miri64/RIOT that referenced this pull request Feb 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: network Area: Networking Type: new feature The issue requests / The PR implemements a new feature for RIOT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants