Changeset 1433ecda in mainline for uspace/srv/net/inetsrv


Ignore:
Timestamp:
2018-04-04T15:42:37Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

Location:
uspace/srv/net/inetsrv
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/inet_link.c

    r47b2d7e3 r1433ecda  
    6868
    6969static addr128_t link_local_node_ip =
    70     {0xfe, 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xfe, 0, 0, 0};
     70    { 0xfe, 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xfe, 0, 0, 0 };
    7171
    7272static void inet_link_local_node_ip(addr48_t mac_addr,
  • uspace/srv/net/inetsrv/inetsrv.c

    r47b2d7e3 r1433ecda  
    6565static inet_naddr_t solicited_node_mask = {
    6666        .version = ip_v6,
    67         .addr6 = {0xff, 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01, 0xff, 0, 0, 0},
     67        .addr6 = { 0xff, 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01, 0xff, 0, 0, 0 },
    6868        .prefix = 104
    6969};
     
    7676static inet_addr_t multicast_all_nodes = {
    7777        .version = ip_v6,
    78         .addr6 = {0xff, 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01}
     78        .addr6 = { 0xff, 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01 }
    7979};
    8080
     
    182182
    183183                if (dgram->src.version != ip_v4 ||
    184                         dgram->dest.version != ip_v4)
     184                    dgram->dest.version != ip_v4)
    185185                        return EINVAL;
    186186
  • uspace/srv/net/inetsrv/ndp.c

    r47b2d7e3 r1433ecda  
    4949
    5050static addr128_t solicited_node_ip =
    51     {0xff, 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01, 0xff, 0, 0, 0};
     51    { 0xff, 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01, 0xff, 0, 0, 0 };
    5252
    5353/** Compute solicited node IPv6 multicast address from target IPv6 address
Note: See TracChangeset for help on using the changeset viewer.