Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: More workflow fun  (Read 1603 times)

Weaver

  • Addicted Kitizen
  • *****
  • Posts: 5424
  • Retd sw dev; A&A; 3 7km ADSL2; IPv6; Firebrick
More workflow fun
« on: February 02, 2018, 08:25:34 AM »

The Workflow programming environment doesn't have bitwise AND OR XOR operators, so I'm having to make my own AND XOR and CMP functions from scratch. I'm doing it bit by bit, by using + or * on the pair of values and the extracting the resulting bit 0 and so on in turn.

This is so I can do an IPv6 netmask calculator. I've already written a string comparison thing to find out how many initial 16-but words two ipv6 address strings have in common, then I just need to bolt on something involving bitwise logic to do the final test in order to find out whether or not a given address is inside a particular netmasked range.
« Last Edit: February 02, 2018, 08:28:30 AM by Weaver »
Logged